public class RemoteDigiMeshDevice extends RemoteXBeeDevice
Constructor and Description |
---|
RemoteDigiMeshDevice(DigiMeshDevice localXBeeDevice,
XBee64BitAddress addr64)
Class constructor.
|
RemoteDigiMeshDevice(XBeeDevice localXBeeDevice,
XBee64BitAddress addr64)
Class constructor.
|
RemoteDigiMeshDevice(XBeeDevice localXBeeDevice,
XBee64BitAddress addr64,
String id)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
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 RemoteDigiMeshDevice(DigiMeshDevice localXBeeDevice, XBee64BitAddress addr64)
RemoteDigiMeshDevice
object
with the given local DigiMeshDevice
which contains the connection
interface to be used.localXBeeDevice
- The local DigiMesh device that will behave as
connection interface to communicate with this
remote DigiMesh device.addr64
- The 64-bit address to identify this remote DigiMesh device.IllegalArgumentException
- if localXBeeDevice.isRemote() == true
.NullPointerException
- if localXBeeDevice == null
or
if addr64 == null
.XBee64BitAddress
public RemoteDigiMeshDevice(XBeeDevice localXBeeDevice, XBee64BitAddress addr64)
RemoteDigiMeshDevice
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 DigiMesh device.addr64
- The 64-bit address to identify this remote DigiMesh device.IllegalArgumentException
- if localXBeeDevice.isRemote() == true
or
if localXBeeDevice.getXBeeProtocol() != XBeeProtocol.DIGI_MESH
.NullPointerException
- if localXBeeDevice == null
or
if addr64 == null
.XBee64BitAddress
public RemoteDigiMeshDevice(XBeeDevice localXBeeDevice, XBee64BitAddress addr64, String id)
RemoteDigiMeshDevice
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 DigiMesh device.addr64
- The 64-bit address to identify this remote DigiMesh device.id
- The node identifier of this remote DigiMesh device. It might
be null
.IllegalArgumentException
- if localXBeeDevice.isRemote() == true
or
if localXBeeDevice.getXBeeProtocol() != XBeeProtocol.DIGI_MESH
.NullPointerException
- if localXBeeDevice == null
or
if addr64 == null
.XBee64BitAddress
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.