public class RemoteThreadDevice extends RemoteXBeeDevice
RemoteDigiMeshDevice
,
RemoteDigiPointDevice
,
RemoteRaw802Device
,
RemoteXBeeDevice
,
RemoteZigBeeDevice
Constructor and Description |
---|
RemoteThreadDevice(AbstractXBeeDevice localXBeeDevice,
Inet6Address ipv6Addr)
Class constructor.
|
RemoteThreadDevice(AbstractXBeeDevice localXBeeDevice,
Inet6Address ipv6Addr,
String ni)
Class constructor.
|
RemoteThreadDevice(ThreadDevice localXBeeDevice,
Inet6Address ipv6Addr)
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.
|
ThreadAssociationIndicationStatus |
getThreadAssociationIndicationStatus()
Returns the current association status of this Thread device.
|
XBeeProtocol |
getXBeeProtocol()
Returns the XBee Protocol of this XBee device.
|
isRemote, reset, 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, isApplyConfigurationChangesEnabled, readDeviceInfo, readIOSample, setDestinationAddress, setDIOChangeDetection, setDIOValue, setIOConfiguration, setIOSamplingRate, setIPv6DestinationAddress, setNodeID, setPANID, setParameter, setPowerLevel, setPWMDutyCycle, updateBluetoothPassword, updateDeviceDataFrom, writeChanges
public RemoteThreadDevice(AbstractXBeeDevice localXBeeDevice, Inet6Address ipv6Addr)
RemoteThreadDevice
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 Thread device.ipv6Addr
- The IPv6 address to identify this remote Thread device.IllegalArgumentException
- if localXBeeDevice.isRemote() == true
or
if localXBeeDevice.getXBeeProtocol() != XBeeProtocol.THREAD
.NullPointerException
- if localXBeeDevice == null
or
if ipv6addr == null
.RemoteThreadDevice(ThreadDevice, Inet6Address)
,
RemoteThreadDevice(AbstractXBeeDevice, Inet6Address, String)
,
XBeeDevice
,
Inet6Address
public RemoteThreadDevice(AbstractXBeeDevice localXBeeDevice, Inet6Address ipv6Addr, String ni)
RemoteThreadDevice
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 Thread device.ipv6Addr
- The IPv6 address to identify this remote Thread device.ni
- The node identifier of this remote Thread device. It might be
null
.IllegalArgumentException
- if localXBeeDevice.isRemote() == true
or
if localXBeeDevice.getXBeeProtocol() != XBeeProtocol.THREAD
.NullPointerException
- if localXBeeDevice == null
or
if ipv6Address == null
.RemoteThreadDevice(ThreadDevice, Inet6Address)
,
RemoteThreadDevice(AbstractXBeeDevice, Inet6Address)
,
XBeeDevice
,
Inet6Address
public RemoteThreadDevice(ThreadDevice localXBeeDevice, Inet6Address ipv6Addr)
RemoteThreadDevice
object
with the given local ThreadDevice
which contains the connection
interface to be used.localXBeeDevice
- The local Thread device that will behave as
connection interface to communicate with this
remote Thread device.ipv6Addr
- The IPv6 address to identify this remote Thread device.IllegalArgumentException
- if localXBeeDevice.isRemote() == true
.NullPointerException
- if localXBeeDevice == null
or
if ipv6addr == null
.RemoteThreadDevice(AbstractXBeeDevice, Inet6Address)
,
RemoteThreadDevice(AbstractXBeeDevice, Inet6Address, String)
,
ThreadDevice
,
Inet6Address
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 ThreadAssociationIndicationStatus getThreadAssociationIndicationStatus() throws TimeoutException, XBeeException
InterfaceNotOpenException
- if this device connection is not open.TimeoutException
- if there is a timeout getting the association
indication status.XBeeException
- if there is any other XBee related exception.ThreadAssociationIndicationStatus
public XBeeProtocol getXBeeProtocol()
AbstractXBeeDevice
To refresh this value use the AbstractXBeeDevice.readDeviceInfo()
method.
getXBeeProtocol
in class AbstractXBeeDevice
XBeeProtocol
© Copyright 2014 - 2024 Digi International Inc. All rights reserved.