Serial Port 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
OnBaudRate The baudrate change was detected
OnHandFlow The flow control change detected
OnLineControl The line control change detected
OnOpenClose The port Open or Close operation detected
OnTimeouts Timeouts parameters of the virtual serial port change detected

Signal lines control:

Event
Brief Description
OnCTS The CTS (clear-to-send) signal state in real serial port is changed
OnDCD The RLSD (receive-line-signal-detect) signal state in real serial port is changed
OnDSR The DSR (data-set-ready) signal state in real serial port is changed
OnDTR Application, which opened virtual serial port, changes the DTR (data-terminal-ready) signal state
OnRing The RING signal state in real serial port is changed
OnRTS Application, 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
OnWrite Application, which opened virtual serial port, writes data to the sniffed virtual port (VARIANT analog of OnWriteData)
OnWriteData Application, which opened virtual serial port, writes data to the sniffed virtual port
OnRead Read data from real serial port exist, before this data will be written to virtual serial port (VARIANT analog of OnReadData)
OnReadData Read data from real serial port exist, before this data will be written to virtual serial port

See also

Serial Port Sniffer Methods Overview
Serial Port Sniffer Properties Overview