Skip to content

Reading from Serial Ports #1

@danielpi

Description

@danielpi

Hi,

I'm trying to use MAAsyncIO to read from a serial port. I can get a file descriptor for the port using the open() function and then use an instance of MAAsyncReader to run code whenever there is data to be read.

Unfortunately the callback is only fired once when the first lot of data arrives to the serial port. The callback is not fired again even if more data arrives to the serial port.

I suspect this is a problem with the way the serial ports are handled within the operating system.

Kind Regards
Daniel Pink.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions