Initializes a new instance of the BluetoothPrinterConnection class with the given macAddress. The MAC address is a hexadecimal string with no separators between the octets. (e.g. 0011BBDD55FF). This constructor will use the default timeouts for Read()()(). The default timeout is a maximum of 5 seconds for any data to be received. If no more data is available after 500 milliseconds the read operation is assumed to be complete.

To specify timeouts other than the defaults, use:

BluetoothPrinterConnection(String, Int32, Int32)

An attempt is made to determine the proper Bluetooth(R) stack for the platform. To explicitly specify a Bluetooth(R) stack use:
BluetoothPrinterConnection(String, Int32, Int32, BluetoothStackDescriptor)

Namespace:  ZSDK_API.Comm
Assembly:  ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0

Syntax

C#
public BluetoothPrinterConnection(
	string macAddress
)
Visual Basic (Declaration)
Public Sub New ( _
	macAddress As String _
)

Parameters

macAddress
Type: System..::.String
The device's MAC address

Exceptions

ExceptionCondition
ZSDK_API.ApiException..::.ZebraGeneralExceptionIf macAddress is null or invalid.

See Also