The OnCommError event is triggered when a line-status error occurs.
| OnCommError( | ||
| LONG Err | ||
| ); | ||
Parameters
Err [out] A line-status error occurred.
| Value | Meaning | Hex |
| CE_FRAME | The hardware detected a framing error |
0x0008
|
| CE_RXPARITY | The hardware detected a parity error |
0x0004
|
| CE_OVERRUN | A character-buffer overrun has occurred. The next character is lost |
0x0002
|