BluetoothConnection(String) Constructor
|
Constructs a new Bluetooth® connection with the given macAddress.
Namespace: Zebra.Sdk.CommAssemblies: ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 3.0.3271
SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
Syntax public BluetoothConnection(
string macAddress
)
Public Sub New (
macAddress As String
)
public:
BluetoothConnection(
String^ macAddress
)
Parameters
- macAddress String
- the device's MAC address.
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 default timeouts for
Read. The default timeout is a maximum of 10
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:
BluetoothConnection(String, Int32, Int32)See Also