Name
PollSerialQueue -- poll number of bytes in read buffer (V8.0)
Synopsis
n = PollSerialQueue(id)
Function
This function can be used to poll the number of bytes currently in the read buffer of the serial port connection specified by id. This serial port connection must have been opened using OpenSerialPort() before.

To clear a serial port connection's read buffer, use the ClearSerialQueue() command. See ClearSerialQueue for details.

Note that this function is currently unsupported on Android.

Inputs
id
identifier of the serial port whose read buffer you want to poll
Results
n
number of bytes in read buffer

Show TOC