Class RemoteXBeeDevice
This class represents a remote XBee device.
Inheritance
Inherited Members
Namespace: XBeeLibrary.Core
Assembly: XBeeLibrary.Core.dll
Syntax
public class RemoteXBeeDevice : AbstractXBeeDevice
Constructors
RemoteXBeeDevice(AbstractXBeeDevice, XBee64BitAddress)
Class constructor. Instantiates a new RemoteXBeeDevice object with the given local XBeeDevice which contains the connection interface to be used.
Declaration
public RemoteXBeeDevice(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 XBee device. |
XBee64BitAddress | addr64 | The 64-bit address to identify this remote XBee device. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If |
System.ArgumentNullException | If |
See Also
RemoteXBeeDevice(AbstractXBeeDevice, XBee64BitAddress, XBee16BitAddress, String)
Class constructor. Instantiates a new RemoteXBeeDevice object with the given local XBeeDevice which contains the connection interface to be used.
Declaration
public RemoteXBeeDevice(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 XBee device. |
XBee64BitAddress | addr64 | The 64-bit address to identify this remote XBee device. |
XBee16BitAddress | addr16 | The 16-bit address to identify this remote XBee device. It might
be |
System.String | ni | The node identifier of this remote XBee device. It might be |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If |
System.ArgumentNullException | If |
See Also
Properties
IsRemote
Always true
, since this is a remote device.
Declaration
public override bool IsRemote { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
GetLocalXBeeDevice()
Returns the local XBee device.
Declaration
public AbstractXBeeDevice GetLocalXBeeDevice()
Returns
Type | Description |
---|---|
AbstractXBeeDevice | The local XBee device. |
Reset()
Performs a software reset on this XBee device and blocks until the process is completed.
Declaration
public override void Reset()
Overrides
Exceptions
Type | Condition |
---|---|
InterfaceNotOpenException | If this device connection is not open. |
XBeeException | If there is any other XBee related error. |
ToString()
Returns the string representation of this device.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The string representation of this device. |