Serial Port Sniffer ActiveX Contro - Methods Overview

Serial Ports Sniffer ActiveX Control provides the following methods to control the sniffing process:

Method
Brief Description
Start Starts serial port for sniffing
Stop Stops serial port sniffing
IsSniffed Checks the state of serial port, whether it is being sniffed or not
ResetBus Resets real ports state after abnormal sniffing termination

Signal lines control:

Method
Brief Description
SetRealPortDtr Sets DTR value in real serial port
SetRealPortRts Sets RTS value in real serial port
SetRealPortBreak Suspends character transmission for a specified communications device and places the transmission line of a real serial port in a break state
SetVirtualPortCts Sets CTS value in virtual serial port
SetVirtualPortDsr Sets DSR value in virtual serial port
SetVirtualPortDcd Sets DCD value in virtual serial port
SetVirtualPortBreak Suspends character transmission for a specified communications device and places the transmission line of a virtual serial port in a break state
SetVirtualPortRing Sets RING value in virtual serial port

Real serial port parameters management:

Method
Brief Description
SetRealPortLineControl Sets the line control register (LCR) for real serial port
SetRealPortHandflow Sets the configuration of handshake flow control of real serial port

Parameters of writing data to serial port:

Method
Brief Description
WriteRealPort Starts writing any data to real serial port at any time
WriteRealPortVariant Writes data stored in array of VARIANT type to real serial port at any time
WriteVirtualPort Starts writing any data to virtual serial port at any time
WriteVirtualPortVariant Writes data stored in array of VARIANT type to virtual serial port at any time

See also

Serial Port Sniffer Events Overview
Serial Port Sniffer Properties Overview