Serial Ports Sniffer ActiveX Control Events Overview

Serial Ports Sniffer ActiveX Control provides a set of events to notify about the changes in state and data of the port which is sniffed by the ActiveX Control:

Serial port parameters:

Event
Brief Description
OnBaudRateThe baudrate change was detected
OnHandFlowThe flow control change was detected
OnLineControlThe line control change was detected
OnOpenCloseThe port Open or Close operation was detected
OnTimeouts Timeouts parameters of the virtual serial port change were detected

Signal lines control:

Event
Brief Description
OnCTSThe CTS (clear-to-send) signal state in real serial port is changed
OnDCDThe RLSD (receive-line-signal-detect) signal state in real serial port is changed
OnDSRThe DSR (data-set-ready) signal state in real serial port is changed
OnDTRApplication, which opened virtual serial port, changes the DTR (data-terminal-ready) signal state
OnRingThe RING signal state in real serial port is changed
OnRTSApplication, which opened virtual serial port, changes the RTS (ready-to-send) signal state
OnBreakVirtual Application, which opened virtual serial port, changes the Break signal state
OnBreakReal Real serial port gets notification about Break signal state changed

Input/output operations:

Event
Brief Description
OnWriteApplication, which opened virtual serial port, writes data to the sniffed virtual port (VARIANT analog of OnWriteData)
OnWriteDataApplication, which opened virtual serial port, writes data to the sniffed virtual port
OnReadRead data from real serial port, before this data is written to virtual serial port (VARIANT analog of OnReadData)
OnReadDataRead data from real serial port, before this data is written to virtual serial port

See also