Methods to Control the Sniffing Process Overview

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

Method
Brief Description
StartStarts serial port for sniffing
StopStops serial port sniffing
IsSniffedChecks the state of serial port, whether it is being sniffed or not
ResetBusResets real ports state after abnormal sniffing termination

Signal lines control:

Method
Brief Description
SetRealPortDtrSets DTR value in real serial port
SetRealPortRtsSets RTS value in real serial port
SetRealPortBreakSuspends character transmission for a specified communications device and places the transmission line of a real serial port in a break state
SetVirtualPortCtsSets CTS value in virtual serial port
SetVirtualPortDsrSets DSR value in virtual serial port
SetVirtualPortDcdSets DCD value in virtual serial port
SetVirtualPortBreakSuspends character transmission for a specified communications device and places the transmission line of a virtual serial port in a break state
SetVirtualPortRingSets RING value in virtual serial port

Real serial port parameters management:

Method
Brief Description
SetRealPortLineControlSets the line control register (LCR) for real serial port
SetRealPortHandflowSets the configuration of handshake flow control of real serial port

Parameters of writing data to serial port:

Method
Brief Description
WriteRealPortStarts writing any data to real serial port at any time
WriteRealPortVariantWrites data stored in array of VARIANT type to real serial port at any time
WriteVirtualPortStarts writing any data to virtual serial port at any time
WriteVirtualPortVariantWrites 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