BluetoothConnection(String) Constructor
|
Constructs a new Bluetooth® connection with the given macAddress.
Namespace: Zebra.Sdk.CommAssembly: SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 4.0.3435
Syntaxpublic BluetoothConnection(
string macAddress
)
Public Sub New (
macAddress As String
)
public:
BluetoothConnection(
String^ macAddress
)
Parameters
- macAddress String
- The device's MAC address.
Exceptions
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