The OnLineControl event occurs when other application changes line control parameters of the sniffed serial port.
| OnLineControl( | ||
| BYTE StopBits, | // Stop Bits | |
| BYTE Parity, | // Parity | |
| BYTE WordLength | // Data Bits | |
| ); | ||
Parameters
StopBits
[in] Number of stop bits to be used. This variable can be one of the following values:
| Value | Meaning |
| 0 | 1 stop bit |
| 1 | 1.5 stop bits |
| 2 | 2 stop bits |
Parity
[in] Parity scheme to be used. This variable can be one of the following values:
| Value | Meaning |
| 0 | No parity |
| 1 | Odd |
| 2 | Even |
| 3 | Mark |
| 4 | Space |
WordLength
[out] Number of bits in the bytes transmitted and received.