Name
ClearSerialQueue -- clear serial port read buffer (V8.0)
Synopsis
ClearSerialQueue(id)
Function
This function can be used to clear the read buffer of the serial port connection specified by id. This serial port connection must have been opened using OpenSerialPort() before.

To poll the number of bytes currently in the read buffer, use the PollSerialQueue() function. See PollSerialQueue for details.

Note that this function is currently unsupported on Android.

Inputs
id
identifier of the serial port whose read buffer shall be cleared

Show TOC