Article # 605, added by Geoworks, historical record
| first | previous | index | next | last |

0x11 (17) bytes being filtered of the inbound serial stream



If you have turned on software flow control or are using 
SERIAL_MODE_RARE, the system will filter out 0x11 bytes in
the inbound serial stream because it thinks these bytes are 
XON flowcontrol commands.

	 XON = ctrl-q = 0x11 = 17
	XOFF = ctrl-s = 0x13 = 19

If you are sending these bytes as data, you should turn off
software flow control and not use SERIAL_MODE_RARE.

SerialMode defines how the data is filtered when received.  Here is
the definitions of the serial modes as I understand them:

SERIAL_MODE_RAW
    Do not filter input stream (including XON and XOFF).

SERIAL_MODE_RARE
    Same as _RAW, but obey XON/XOFF flow-control and use it on input.

SERIAL_MODE_COOKED
    Obey software flow-control. Also strip the high bit from the
    input stream (i.e., 7-bit input bytes).