Class RemoteZigBeeDevice
This class represents a remote ZigBee device.
Inherited Members
Namespace: XBeeLibrary.Core
Assembly: XBeeLibrary.Core.dll
Syntax
public class RemoteZigBeeDevice : RemoteXBeeDevice
Constructors
RemoteZigBeeDevice(AbstractXBeeDevice, XBee64BitAddress)
Class constructor. Instantiates a new RemoteZigBeeDevice object with the given local XBeeDevice which contains the connection interface to be used.
Declaration
public RemoteZigBeeDevice(AbstractXBeeDevice localXBeeDevice, XBee64BitAddress addr64)
Parameters
Type | Name | Description |
---|---|---|
AbstractXBeeDevice | localXBeeDevice | The local XBee device that will behave as connection interface to communicate with this remote ZigBee device. |
XBee64BitAddress | addr64 | The 64-bit address to identify this remote ZigBee device. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If |
System.ArgumentNullException | If |
See Also
RemoteZigBeeDevice(AbstractXBeeDevice, XBee64BitAddress, XBee16BitAddress, String)
Class constructor. Instantiates a new RemoteZigBeeDevice object with the given local XBeeDevice which contains the connection interface to be used.
Declaration
public RemoteZigBeeDevice(AbstractXBeeDevice localXBeeDevice, XBee64BitAddress addr64, XBee16BitAddress addr16, string ni)
Parameters
Type | Name | Description |
---|---|---|
AbstractXBeeDevice | localXBeeDevice | The local XBee device that will behave as connection interface to communicate with this remote ZigBee device. |
XBee64BitAddress | addr64 | The 64-bit address to identify this remote ZigBee device. |
XBee16BitAddress | addr16 | The 16-bit address to identify this remote ZigBee device. It might
be |
System.String | ni | The node identifier of this remote ZigBee device. It might be |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If |
System.ArgumentNullException | If |
See Also
RemoteZigBeeDevice(ZigBeeDevice, XBee64BitAddress)
Class constructor. Instantiates a new RemoteZigBeeDevice object with the given local ZigBeeDevice which contains the connection interface to be used.
Declaration
public RemoteZigBeeDevice(ZigBeeDevice localXBeeDevice, XBee64BitAddress addr64)
Parameters
Type | Name | Description |
---|---|---|
ZigBeeDevice | localXBeeDevice | The local ZigBee device that will behave as connection interface to communicate with this remote ZigBee device. |
XBee64BitAddress | addr64 | The 64-bit address to identify this remote ZigBee 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. |