Skip to content

Add rudimentary support for serial port i/o to dart:io #25360

Open
@muth02446

Description

@muth02446

A chrome extension has access to serial port i/o and this is well supported in dart.
But a command line application does not.

It would be nice if dart:io could be augmented to support this.
Hopefully most of the existing file support can be reused and only functionality
for setting baud rates, etc. needs to be added.

Why is this useful? A ton of devices still use serial ports for communication, e.g.
Arduino style devices, home automation controllers, etc.

There is an existing library "serial_port" but it does not work very well on Linux
and the fact that it needs to make native calls and provides its own shared libs
makes it hard to work with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-iotype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions