Class Raw802BLEDevice
This class represents a 802.15.4 Bluetooth Low Energy (BLE) device.
Inherited Members
Namespace: XBeeLibrary.Xamarin
Assembly: XBeeLibrary.Xamarin.dll
Syntax
public class Raw802BLEDevice : XBeeBLEDevice
Constructors
| Improve this Doc View SourceRaw802BLEDevice(IDevice, String)
Class constructor. Instantiates a new Raw802BLEDevice object with the given parameters.
Declaration
public Raw802BLEDevice(IDevice device, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| Plugin.BLE.Abstractions.Contracts.IDevice | device | Bluetooth device to connect to. |
| System.String | password | Bluetooth password (can be |
Remarks
The Bluetooth password must be provided before calling the Open() method, either through this constructor or the SetBluetoothPassword(String) method.
See Also
Raw802BLEDevice(String, String)
Class constructor. Instantiates a new Raw802BLEDevice object with the given parameters.
Declaration
public Raw802BLEDevice(string deviceAddress, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | deviceAddress | The address of the Bluetooth device. It must follow the
format |
| System.String | password | Bluetooth password (can be |
Remarks
The Bluetooth password must be provided before calling the Open() method, either through this constructor or the SetBluetoothPassword(String) method.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | If |
Properties
| Improve this Doc View SourceXBeeProtocol
The protocol of the XBee device.
Declaration
public override XBeeProtocol XBeeProtocol { get; }
Property Value
| Type | Description |
|---|---|
| XBeeProtocol |