Class WaveLinkAuxPort

The public class WaveLinkAuxPort is supported on Windows Mobile, Windows CE, Palm, and DOS.

The Class WaveLinkAuxPort provides bi-directional access to the serial port of a device.

Constructors

public WaveLinkAuxPort()
throws Exception

public WaveLinkAuxPort(IWaveLinkSession currentSession)
throws Exception

Fields

BAUD110

public static final int BAUD110

Baud rate - 110000 baud connection.

BAUD150

public static final int BAUD150

Baud rate - 150 baud connection.

BAUD300

public static final int BAUD300

Baud rate - 300 baud connection.

BAUD600

public static final int BAUD600

Baud rate - 600 baud connection.

BAUD1200

public static final int BAUD1200

Baud rate - 1200 baud connection.

BAUD1350

public static final int BAUD1350

Baud rate - 1350 baud connection.

BAUD2400

public static final int BAUD2400

Baud rate - 2400 baud connection.

BAUD4800

public static final int BAUD4800

Baud rate - 4800 baud connection.

BAUD9600

public static final int BAUD9600

Baud rate - 9600 baud connection.

BAUD19200

public static final int BAUD19200

Baud rate - 19200 baud connection.

BAUD38400

public static final int BAUD38400

Baud rate - 38400 baud connection.

DATABITS4

public static final int DATABITS4

Stop Bit Setting - 4 data bits.

DATABITS5

public static final int DATABITS5

Stop Bit Setting - 5 data bits.

DATABITS6

public static final int DATABITS6

Stop Bit Setting - 6 data bits.

DATABITS7

public static final int DATABITS7

Stop Bit Setting - 7 data bits.

DATABITS8

public static final int DATABITS8

Stop Bit Setting - 8 data bits.

HARDWAREFLOWCTL

public static final int 

Flow Control Setting - Hardware flow control.

NOFLOWCTL

public static final int NOFLOWCTL

Flow Control Setting - No flow control.

PARITYEVEN

public static final int PARITYEVEN

Parity Setting - Even parity.

PARITYMARK

public static final int PARITYMARK

Parity Setting - Mark parity.

PARITYNONE

public static final int PARITYNONE

Parity Setting - No parity.

PARITYODD

public static final int PARITYODD

Parity Setting - Odd parity.

PARITYSPACE

public static final int PARITYSPACE

Parity Setting - Space parity.

SOFTWAREFLOWCTL

public static final int SOFTWAREFLOWCTL

Flow Control Setting - Software flow control.

STOPBITS1

public static final int STOPBITS1

Stop Bit Setting - One stop bit.

STOPBITS2

public static final int STOPBITS2

Stop Bit Setting - Two stop bits.

WLCOM1

public static final int WLCOM1

COM PORT - COM port 1 (serial port on Palm devices).

WLCOM2

public static final int WLCOM2

COM PORT - COM port 2 (infrared port on Palm devices).

WLNOCHAR

public static final char WLNOCHAR

Query Setting - No start/end character.

WLNOMAXLENGTH

public static final int WLNOMAXLENGTH

Query Setting - No query maximum length for the serial port.

WLWAITFOREVER

public static final int WLWAITFOREVER

Query Setting - No query timeout for the serial port.

Methods

ConfigurePort Method

Configures UART settings for device's serial port.

QueryPort Method

Sends and receives data to and from device's serial port.

Throws

WaveLinkError

Remarks

You must first configure a serial port using the ConfigurePort Method before using the QueryPort Method.

The main communication port between the server and the client is configured and accessed automatically. The WaveLinkAuxPort object is provided for the auxiliary port on the device, typically a printer port.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal