Nedap.HandheldApi
|
This class provides Bluetooth Serial Port functionality implemented with 32feet.net library. It can be used to automatically discover available !D Hand devices, pair an connect to one of these, without user interaction. More...
Public Member Functions | |
BluetoothCommunicationPort () | |
Constructor. | |
bool | Connect () |
Connect to the discovered reader. | |
bool | Disconnect () |
Disconnect from reader. | |
int | WriteData (byte[] buffer, int offset, int length) |
Writes data to reader. | |
int | ReadData (byte[] buffer, int offset, int length) |
Reads data from reader. | |
void | Dispose () |
Dispose. | |
Properties | |
bool | Connected [get] |
Retrieves if connection to reader is established. | |
Events | |
EventHandler < MultipleHandheldsFoundEventArgs > | OnMultipleHandheldsFound |
This event is trigered when during device discovery more than one !D Hand is found. | |
EventHandler | OnDataReceived |
This event is trigered when data are received form reader. |
This class provides Bluetooth Serial Port functionality implemented with 32feet.net library. It can be used to automatically discover available !D Hand devices, pair an connect to one of these, without user interaction.
Nedap.HandheldApi.CommunicationPort.BluetoothCommunicationPort.BluetoothCommunicationPort | ( | ) |
Constructor.
bool Nedap.HandheldApi.CommunicationPort.BluetoothCommunicationPort.Connect | ( | ) |
Connect to the discovered reader.
Implements Nedap.HandheldApi.CommunicationQueue.ICommunicationPort.
bool Nedap.HandheldApi.CommunicationPort.BluetoothCommunicationPort.Disconnect | ( | ) |
Disconnect from reader.
Implements Nedap.HandheldApi.CommunicationQueue.ICommunicationPort.
void Nedap.HandheldApi.CommunicationPort.BluetoothCommunicationPort.Dispose | ( | ) |
Dispose.
int Nedap.HandheldApi.CommunicationPort.BluetoothCommunicationPort.ReadData | ( | byte[] | buffer, |
int | offset, | ||
int | length | ||
) |
Reads data from reader.
buffer | |
offset | |
length |
Implements Nedap.HandheldApi.CommunicationQueue.ICommunicationPort.
int Nedap.HandheldApi.CommunicationPort.BluetoothCommunicationPort.WriteData | ( | byte[] | buffer, |
int | offset, | ||
int | length | ||
) |
Writes data to reader.
buffer | |
offset | |
length |
Implements Nedap.HandheldApi.CommunicationQueue.ICommunicationPort.
bool Nedap.HandheldApi.CommunicationPort.BluetoothCommunicationPort.Connected [get] |
Retrieves if connection to reader is established.
Implements Nedap.HandheldApi.CommunicationQueue.ICommunicationPort.
EventHandler Nedap.HandheldApi.CommunicationPort.BluetoothCommunicationPort.OnDataReceived |
This event is trigered when data are received form reader.
Implements Nedap.HandheldApi.CommunicationQueue.ICommunicationPort.
EventHandler<MultipleHandheldsFoundEventArgs> Nedap.HandheldApi.CommunicationPort.BluetoothCommunicationPort.OnMultipleHandheldsFound |
This event is trigered when during device discovery more than one !D Hand is found.