Class ZigBeeBLEDevice
This class represents ZigBee Bluetooth Low Energy (BLE) device.
Inherited Members
Namespace: XBeeLibrary.Xamarin
Assembly: XBeeLibrary.Xamarin.dll
Syntax
public class ZigBeeBLEDevice : XBeeBLEDevice
Constructors
ZigBeeBLEDevice(IDevice, String)
Class constructor. Instantiates a new ZigBeeBLEDevice object with the given parameters.
Declaration
public ZigBeeBLEDevice(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
ZigBeeBLEDevice(String, String)
Class constructor. Instantiates a new ZigBeeBLEDevice object with the given parameters.
Declaration
public ZigBeeBLEDevice(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
XBeeProtocol
The protocol of the XBee device.
Declaration
public override XBeeProtocol XBeeProtocol { get; }
Property Value
Type | Description |
---|---|
XBeeProtocol |