Skip to content

Use asynchronous reading from serial streams #5

@cfobel

Description

@cfobel

Reading from serial stream currently uses polling with a default delay of 10ms between polls.

Ideally, we should use an asynchronous mechanism for reading from serial streams to reduce latency. In Linux/OSX, etc., the select() can be used to achieve asynchronous reads from a serial port. However, this method does not seem appropriate for Windows.

See here and here for some leads on how we might implement cross-platform support for asynchronous reads from serial streams. It might also be worth looking into pyuv.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions