public class RemoteXBeeDevice extends AbstractXBeeDevice
| Constructor and Description |
|---|
RemoteXBeeDevice(XBeeDevice localXBeeDevice,
XBee64BitAddress addr64)
Class constructor.
|
RemoteXBeeDevice(XBeeDevice localXBeeDevice,
XBee64BitAddress addr64,
XBee16BitAddress addr16,
String ni)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRemote()
Always returns
true, since it is a remote device. |
void |
reset()
Performs a software reset on this XBee device and blocks until the
process is completed.
|
String |
toString() |
applyChanges, enableApplyConfigurationChanges, executeParameter, get16BitAddress, get64BitAddress, getADCValue, getConnectionInterface, getDestinationAddress, getDIOChangeDetection, getDIOValue, getFirmwareVersion, getHardwareVersion, getIOConfiguration, getIOSamplingRate, getNodeID, getPANID, getParameter, getPowerLevel, getPWMDutyCycle, getXBeeProtocol, isApplyConfigurationChangesEnabled, readDeviceInfo, readIOSample, setDestinationAddress, setDIOChangeDetection, setDIOValue, setIOConfiguration, setIOSamplingRate, setNodeID, setPANID, setParameter, setPowerLevel, setPWMDutyCycle, updateDeviceDataFrom, writeChangespublic RemoteXBeeDevice(XBeeDevice localXBeeDevice, XBee64BitAddress addr64)
RemoteXBeeDevice object
with the given local XBeeDevice which contains the connection
interface to be used.localXBeeDevice - The local XBee device that will behave as
connection interface to communicate with this
remote XBee device.addr64 - The 64-bit address to identify this remote XBee device.IllegalArgumentException - if localXBeeDevice.isRemote() == true.NullPointerException - if localXBeeDevice == null or
if addr64 == null.XBee64BitAddresspublic RemoteXBeeDevice(XBeeDevice localXBeeDevice, XBee64BitAddress addr64, XBee16BitAddress addr16, String ni)
RemoteXBeeDevice object
with the given local XBeeDevice which contains the connection
interface to be used.localXBeeDevice - The local XBee device that will behave as
connection interface to communicate with this
remote XBee device.addr64 - The 64-bit address to identify this remote XBee device.addr16 - The 16-bit address to identify this remote XBee device. It
might be null.ni - The node identifier of this remote XBee device. It might be
null.IllegalArgumentException - if localXBeeDevice.isRemote() == true.NullPointerException - if localXBeeDevice == null or
if addr64 == null.XBee16BitAddress,
XBee64BitAddresspublic boolean isRemote()
true, since it is a remote device.isRemote in class AbstractXBeeDevicetrue always.public void reset() throws TimeoutException, XBeeException
AbstractXBeeDevicereset in class AbstractXBeeDeviceTimeoutException - if the configured time expires while waiting
for the command reply.XBeeException - if there is any other XBee related exception.public String toString()
toString in class AbstractXBeeDevice© Copyright 2014?2015 Digi International Inc. All rights reserved.