BluetoothConnection Constructor (String)
|
Constructs a new Bluetooth® connection with the given macAddress.
Namespace:
Zebra.Sdk.Comm
Assemblies:
SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 2.15.2634
ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
Syntax public BluetoothConnection(
string macAddress
)
Public Sub New (
macAddress As String
)
public:
BluetoothConnection(
String^ macAddress
)
Parameters
- macAddress
- Type: SystemString
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