public class RemoteXBeeDevice extends AbstractXBeeDevice
| Constructor and Description |
|---|
RemoteXBeeDevice(AbstractXBeeDevice localXBeeDevice,
Inet6Address ipv6Addr)
Class constructor.
|
RemoteXBeeDevice(AbstractXBeeDevice localXBeeDevice,
Inet6Address ipv6Addr,
String ni)
Class constructor.
|
RemoteXBeeDevice(AbstractXBeeDevice localXBeeDevice,
XBee64BitAddress addr64)
Class constructor.
|
RemoteXBeeDevice(AbstractXBeeDevice 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, disableBluetooth, enableApplyConfigurationChanges, enableBluetooth, executeParameter, get16BitAddress, get64BitAddress, getADCValue, getBluetoothMacAddress, getConnectionInterface, getDestinationAddress, getDIOChangeDetection, getDIOValue, getFirmwareVersion, getHardwareVersion, getIOConfiguration, getIOSamplingRate, getIPv6Address, getIPv6DestinationAddress, getNodeID, getPANID, getParameter, getPowerLevel, getPWMDutyCycle, getXBeeProtocol, isApplyConfigurationChangesEnabled, readDeviceInfo, readIOSample, setDestinationAddress, setDIOChangeDetection, setDIOValue, setIOConfiguration, setIOSamplingRate, setIPv6DestinationAddress, setNodeID, setPANID, setParameter, setPowerLevel, setPWMDutyCycle, updateBluetoothPassword, updateDeviceDataFrom, writeChangespublic RemoteXBeeDevice(AbstractXBeeDevice localXBeeDevice, Inet6Address ipv6Addr)
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.ipv6Addr - The IPv6 address to identify this XBee device.IllegalArgumentException - if localXBeeDevice.isRemote() == true.NullPointerException - if localXBeeDevice == null or
if ipv6Addr == null.Inet6Addresspublic RemoteXBeeDevice(AbstractXBeeDevice localXBeeDevice, Inet6Address ipv6Addr, 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.ipv6Addr - The IPv6 address to identify this XBee device.ni - The node identifier of this remote XBee device. It might be
null.IllegalArgumentException - if localXBeeDevice.isRemote() == true.NullPointerException - if localXBeeDevice == null or
if ipv6Addr == null.Inet6Addresspublic RemoteXBeeDevice(AbstractXBeeDevice 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(AbstractXBeeDevice 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 - 2019 Digi International Inc. All rights reserved.