OnLineControl Event in Serial Port Sniffer AX Control

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, out] Number of stop bits to be used. This variable can be one of the following values:

ValueMeaning
01 stop bit
11.5 stop bits
22 stop bits

Parity
[in, out] Parity scheme to be used. This variable can be one of the following values:
ValueMeaning
0No parity
1Odd
2Even
3Mark
4Space

WordLength
[out] Number of bits in the bytes transmitted and received.