public class RemoteZigBeeDevice extends RemoteXBeeDevice
Constructor and Description |
---|
RemoteZigBeeDevice(XBeeDevice localXBeeDevice,
XBee64BitAddress addr64)
Class constructor.
|
RemoteZigBeeDevice(XBeeDevice localXBeeDevice,
XBee64BitAddress addr64,
XBee16BitAddress addr16,
String ni)
Class constructor.
|
RemoteZigBeeDevice(ZigBeeDevice localXBeeDevice,
XBee64BitAddress addr64)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
forceDisassociate()
Forces this XBee device to immediately disassociate from the network and
re-attempt to associate.
|
AssociationIndicationStatus |
getAssociationIndicationStatus()
Returns the current association status of this XBee device.
|
XBeeProtocol |
getXBeeProtocol()
Returns the XBee Protocol of this XBee device.
|
isRemote, reset, toString
applyChanges, enableApplyConfigurationChanges, executeParameter, get16BitAddress, get64BitAddress, getADCValue, getConnectionInterface, getDestinationAddress, getDIOChangeDetection, getDIOValue, getFirmwareVersion, getHardwareVersion, getIOConfiguration, getIOSamplingRate, getNodeID, getPANID, getParameter, getPowerLevel, getPWMDutyCycle, isApplyConfigurationChangesEnabled, readDeviceInfo, readIOSample, setDestinationAddress, setDIOChangeDetection, setDIOValue, setIOConfiguration, setIOSamplingRate, setNodeID, setPANID, setParameter, setPowerLevel, setPWMDutyCycle, updateDeviceDataFrom, writeChanges
public RemoteZigBeeDevice(XBeeDevice localXBeeDevice, XBee64BitAddress addr64)
RemoteZigBeeDevice
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 ZigBee device.addr64
- The 64-bit address to identify this remote ZigBee device.IllegalArgumentException
- if localXBeeDevice.isRemote() == true
or
if localXBeeDevice.getXBeeProtocol() != XBeeProtocol.ZIGBEE
.NullPointerException
- if localXBeeDevice == null
or
if addr64 == null
.XBee64BitAddress
public RemoteZigBeeDevice(XBeeDevice localXBeeDevice, XBee64BitAddress addr64, XBee16BitAddress addr16, String ni)
RemoteZigBeeDevice
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 ZigBee device.addr64
- The 64-bit address to identify this remote ZigBee device.addr16
- The 16-bit address to identify this remote ZigBee device.
It might be null
.ni
- The node identifier of this remote ZigBee device. It might be
null
.IllegalArgumentException
- if localXBeeDevice.isRemote() == true
or
if localXBeeDevice.getXBeeProtocol() != XBeeProtocol.ZIGBEE
.NullPointerException
- if localXBeeDevice == null
or
if addr64 == null
.XBee16BitAddress
,
XBee64BitAddress
public RemoteZigBeeDevice(ZigBeeDevice localXBeeDevice, XBee64BitAddress addr64)
RemoteZigBeeDevice
object
with the given local ZigBeeDevice
which contains the connection
interface to be used.localXBeeDevice
- The local ZigBee device that will behave as
connection interface to communicate with this
remote ZigBee device.addr64
- The 64-bit address to identify this remote ZigBee device.IllegalArgumentException
- if localXBeeDevice.isRemote() == true
.NullPointerException
- if localXBeeDevice == null
or
if addr64 == null
.XBee64BitAddress
public void forceDisassociate() throws TimeoutException, XBeeException
AbstractXBeeDevice
Only valid for End Devices.
TimeoutException
- if there is a timeout executing the
disassociation command.XBeeException
- if there is any other XBee related exception.AbstractXBeeDevice.getAssociationIndicationStatus()
public AssociationIndicationStatus getAssociationIndicationStatus() throws TimeoutException, XBeeException
AbstractXBeeDevice
It indicates occurrences of errors during the last association request.
TimeoutException
- if there is a timeout getting the association
indication status.XBeeException
- if there is any other XBee related exception.AbstractXBeeDevice.forceDisassociate()
,
AssociationIndicationStatus
public XBeeProtocol getXBeeProtocol()
AbstractXBeeDevice
To refresh this value use the AbstractXBeeDevice.readDeviceInfo()
method.
getXBeeProtocol
in class AbstractXBeeDevice
XBeeProtocol
© Copyright 2014–2014 Digi International Inc. All rights reserved.