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.
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.