Click or drag to resize

BluetoothConnection(String, Int32, Int32) Constructor

Constructs a new Bluetooth® connection with the givenmacAddress and timeout values.

Namespace: Zebra.Sdk.Comm
Assemblies:  ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 3.0.3271
  SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
Syntax
public BluetoothConnection(
	string macAddress,
	int maxTimeoutForRead,
	int timeToWaitForMoreData
)

Parameters

macAddress  String
the device's MAC address.
maxTimeoutForRead  Int32
the maximum time, in milliseconds, to wait for any data to be received.
timeToWaitForMoreData  Int32
the maximum time, in milliseconds, to wait in-between reads after the initial read.
Remarks
The MAC address is a hexadecimal string with or without separators between the octets. (e.g. 00:11:BB:DD:55:FF or 0011BBDD55FF). This constructor will use the specified timeouts for Read.The timeout is a maximum of maxTimeoutForRead milliseconds for any data to be received.If no more data is available after timeToWaitForMoreData milliseconds the read operation is assumed to be complete.
See Also