Article # 481, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
What's the difference between SerialModes SM_RAW, _RARE, and _COOKED?
SM_RAW, SM_RARE, and SM_COOKED control how the driver treats incoming serial data. In SM_COOKED mode, the driver obeys software flow control (XON/XOFF) and limits characters to 7 bits (to deal with errant parity bits masquerading as 8-bit, no-parity data). In SM_RARE mode, flow control is still provided, but incoming data is untouched (except for the stripping out XON and XOFF bytes from the input stream). In SM_RAW mode, flow control is disabled.