Class RemoteRaw802Device
This class represents a remote 802.15.4 device.
Inherited Members
Namespace: XBeeLibrary.Core
Assembly: XBeeLibrary.Core.dll
Syntax
public class RemoteRaw802Device : RemoteXBeeDevice
Constructors
RemoteRaw802Device(AbstractXBeeDevice, XBee16BitAddress)
Class constructor. Instantiates a new RemoteRaw802Device object with the given local XBeeDevice which contains the connection interface to be used.
Declaration
public RemoteRaw802Device(AbstractXBeeDevice localXBeeDevice, XBee16BitAddress addr16)
Parameters
Type | Name | Description |
---|---|---|
AbstractXBeeDevice | localXBeeDevice | The local XBee device that will behave as connection interface to communicate with this remote 802.15.4 device. |
XBee16BitAddress | addr16 | The 16-bit address to identify this remote 802.15.4 device. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If |
System.ArgumentNullException | If |
See Also
RemoteRaw802Device(AbstractXBeeDevice, XBee64BitAddress, XBee16BitAddress, String)
Class constructor. Instantiates a new RemoteRaw802Device object with the given local XBeeDevice which contains the connection interface to be used.
Declaration
public RemoteRaw802Device(AbstractXBeeDevice localXBeeDevice, XBee64BitAddress addr64, XBee16BitAddress addr16, string id)
Parameters
Type | Name | Description |
---|---|---|
AbstractXBeeDevice | localXBeeDevice | The local XBee device that will behave as connection interface to communicate with this remote 802.15.4 device. |
XBee64BitAddress | addr64 | The 64-bit address to identify this remote 802.15.4 device. |
XBee16BitAddress | addr16 | The 16-bit address to identify this remote 802.15.4 device. It might
be |
System.String | id | The node identifier of this remote 802.15.4 device. It might be |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If |
System.ArgumentNullException | If |
See Also
RemoteRaw802Device(Raw802Device, XBee16BitAddress)
Class constructor. Instantiates a new RemoteRaw802Device object with the given local RemoteRaw802Device which contains the connection interface to be used.
Declaration
public RemoteRaw802Device(Raw802Device localXBeeDevice, XBee16BitAddress addr16)
Parameters
Type | Name | Description |
---|---|---|
Raw802Device | localXBeeDevice | The local 802.15.4 device that will behave as connection interface to communicate with this remote 802.15.4 device. |
XBee16BitAddress | addr16 | The 16-bit address to identify this remote 802.15.4 device. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If |
System.ArgumentNullException | If |
See Also
RemoteRaw802Device(Raw802Device, XBee64BitAddress)
Class constructor. Instantiates a new RemoteRaw802Device object with the given local Raw802Device which contains the connection interface to be used.
Declaration
public RemoteRaw802Device(Raw802Device localXBeeDevice, XBee64BitAddress addr64)
Parameters
Type | Name | Description |
---|---|---|
Raw802Device | localXBeeDevice | The local 802.15.4 device that will behave as connection interface to communicate with this remote 802.15.4 device. |
XBee64BitAddress | addr64 | The 64-bit address to identify this remote 802.15.4 device. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If |
System.ArgumentNullException | If |
See Also
Properties
XBeeProtocol
The protocol of the XBee device.
Declaration
public override XBeeProtocol XBeeProtocol { get; }
Property Value
Type | Description |
---|---|
XBeeProtocol |
Overrides
See Also
Methods
ForceDisassociate()
Forces this XBee device to immediately disassociate from the network and re-attempt to associate.
Declaration
public void ForceDisassociate()
Remarks
Only valid for End Devices.
Exceptions
Type | Condition |
---|---|
InterfaceNotOpenException | If this device connection is not open. |
TimeoutException | If there is a timeout executing the force disassociate command. |
XBeeException | If there is any other XBee related error. |
See Also
GetAssociationIndicationStatus()
Returns the current association status of this XBee device.
Declaration
public AssociationIndicationStatus GetAssociationIndicationStatus()
Returns
Type | Description |
---|---|
AssociationIndicationStatus | The association indication status of the XBee device. |
Remarks
It indicates occurrences of errors during the last association request.
Exceptions
Type | Condition |
---|---|
ATCommandEmptyException | If the |
InterfaceNotOpenException | If this device connection is not open. |
TimeoutException | If there is a timeout reading the association indication status. |
XBeeException | If there is any other XBee related error. |
See Also
Set64BitAddress(XBee64BitAddress)
Sets the XBee64BitAddress of this remote 802.15.4 device.
Declaration
public void Set64BitAddress(XBee64BitAddress addr64)
Parameters
Type | Name | Description |
---|---|---|
XBee64BitAddress | addr64 | The 64-bit address to be set to the device. |