asio::serial_port how to know how many bytes are available for read

6 Aug
2008
6 Aug
'08
12:09 p.m.
Hi, Is there a way to know how many bytes are available for read from a serial port, using asio::serial_port::read_some? The sockets have bytes_readable or something similar... Any equivalent for the serial ports? Thanks! Jean

8 Sep
8 Sep
3:51 p.m.
Any news on this matter? Thanks! On Wed, Aug 6, 2008 at 7:09 AM, Jean-Sebastien Stoezel <js.stoezel@gmail.com> wrote:
Hi,
Is there a way to know how many bytes are available for read from a serial port, using asio::serial_port::read_some? The sockets have bytes_readable or something similar... Any equivalent for the serial ports?
Thanks! Jean
6140
Age (days ago)
6173
Last active (days ago)
5 comments
4 participants
participants (4)
-
Jean-Sebastien Stoezel