BluetoothStatusConnectionInsecure Constructor (String, Int32, Int32)
|
Constructs a new status only insecure Bluetooth® connection with the given macAddress and timeout values.
Namespace:
Zebra.Sdk.Comm
Assembly:
SdkApi_Desktop (in SdkApi_Desktop.dll) Version: 2.14.1869
Syntax public BluetoothStatusConnectionInsecure(
string macAddress,
int maxTimeoutForRead,
int timeToWaitForMoreData
)
Public Sub New (
macAddress As String,
maxTimeoutForRead As Integer,
timeToWaitForMoreData As Integer
)
public:
BluetoothStatusConnectionInsecure(
String^ macAddress,
int maxTimeoutForRead,
int timeToWaitForMoreData
)
Parameters
- macAddress
- Type: SystemString
The device's MAC address. - maxTimeoutForRead
- Type: SystemInt32
The maximum time, in milliseconds, to wait for any data to be received. - timeToWaitForMoreData
- Type: SystemInt32
The maximum time, in milliseconds, to wait in-between reads after the initial read.
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 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