public class DigiMeshDevice
extends com.digi.xbee.api.DigiMeshDevice
CellularDevice
,
DigiPointDevice
,
Raw802Device
,
ThreadDevice
,
WiFiDevice
,
XBeeDevice
,
ZigBeeDevice
bluetoothPassword, connectionInterface, currentFrameID, dataReader, DEFAULT_RECEIVE_TIMETOUT, ipv6Address, localXBeeDevice, logger, network, operatingMode, receiveTimeout, TIMEOUT_BEFORE_COMMAND_MODE, TIMEOUT_ENTER_COMMAND_MODE, TIMEOUT_READ_PACKET, xbee16BitAddress, xbee64BitAddress, xbeeProtocol
Constructor and Description |
---|
DigiMeshDevice(android.content.Context context,
int baudRate)
Class constructor.
|
DigiMeshDevice(android.content.Context context,
int baudRate,
AndroidUSBPermissionListener permissionListener)
Class constructor.
|
DigiMeshDevice(android.content.Context context,
java.lang.String port,
int baudRate)
Class constructor.
|
DigiMeshDevice(android.content.Context context,
java.lang.String port,
com.digi.xbee.api.connection.serial.SerialPortParameters parameters)
Class constructor.
|
addExplicitDataListener, getAPIOutputMode, getIPv6Address, getIPv6DestinationAddress, getNetwork, getXBeeProtocol, open, readExplicitData, readExplicitData, readExplicitDataFrom, readExplicitDataFrom, removeExplicitDataListener, sendBroadcastExplicitData, sendData, sendDataAsync, sendExplicitData, sendExplicitData, sendExplicitDataAsync, sendExplicitDataAsync, setAPIOutputMode, setIPv6DestinationAddress
addBluetoothDataListener, addDataListener, addIOSampleListener, addMicroPythonDataListener, addModemStatusListener, addPacketListener, addUserDataRelayListener, close, getNextFrameID, getOperatingMode, getReceiveTimeout, isOpen, isRemote, readData, readData, readDataFrom, readDataFrom, removeBluetoothDataListener, removeDataListener, removeIOSampleListener, removeMicroPythonDataListener, removeModemStatusListener, removePacketListener, removeUserDataRelayListener, reset, sendBluetoothData, sendBroadcastData, sendData, sendDataAsync, sendMicroPythonData, sendPacket, sendPacket, sendPacketAsync, sendUserDataRelay, setReceiveTimeout, toString
addIPDataListener, addSerialDataListener, addSMSListener, applyChanges, checkATCommandResponseIsValid, determineOperatingMode, disableBluetooth, enableApplyConfigurationChanges, enableBluetooth, executeParameter, forceDisassociate, get16BitAddress, get64BitAddress, getADCValue, getAssociationIndicationStatus, getBluetoothMacAddress, getConnectionInterface, getDestinationAddress, getDIOChangeDetection, getDIOValue, getFirmwareVersion, getHardwareVersion, getIOConfiguration, getIOSamplingRate, getNodeID, getPANID, getParameter, getPowerLevel, getPWMDutyCycle, isApplyConfigurationChangesEnabled, readDeviceInfo, readIOSample, removeIPDataListener, removeSerialDataListener, removeSMSListener, sendAndCheckCoAPPacket, sendAndCheckXBeePacket, sendATCommand, sendData, sendDataAsync, sendExplicitData, sendExplicitDataAsync, sendSerialData, sendXBeePacket, sendXBeePacket, sendXBeePacketAsync, set16BitAddress, setBluetoothPassword, setDestinationAddress, setDIOChangeDetection, setDIOValue, setIOConfiguration, setIOSamplingRate, setNodeID, setPANID, setParameter, setPowerLevel, setPWMDutyCycle, softwareReset, updateBluetoothPassword, updateDeviceDataFrom, writeChanges
public DigiMeshDevice(android.content.Context context, int baudRate)
DigiMeshDevice
object for
Android with the given parameters.context
- The Android context.baudRate
- The USB connection baud rate.java.lang.IllegalArgumentException
- if baudRate < 1
.java.lang.NullPointerException
- if context == null
.DigiMeshDevice(Context, int, AndroidUSBPermissionListener)
,
DigiMeshDevice(Context, String, int)
,
DigiMeshDevice(Context, String, SerialPortParameters)
public DigiMeshDevice(android.content.Context context, int baudRate, AndroidUSBPermissionListener permissionListener)
DigiMeshDevice
object for
Android with the given parameters.context
- The Android context.baudRate
- The USB connection baud rate.permissionListener
- The USB permission listener that will be
notified when user grants USB permissions.java.lang.IllegalArgumentException
- if baudRate < 1
.java.lang.NullPointerException
- if context == null
.DigiMeshDevice(Context, int)
,
DigiMeshDevice(Context, String, int)
,
DigiMeshDevice(Context, String, SerialPortParameters)
,
AndroidUSBPermissionListener
public DigiMeshDevice(android.content.Context context, java.lang.String port, int baudRate)
DigiMeshDevice
object for
Android with the given parameters.
This constructor uses the Digi Android Serial Port API based on the RxTx library to communicate with the devices.
context
- The Android application context.port
- Serial port name where XBee device is attached to.baudRate
- The serial port connection baud rate.java.lang.NullPointerException
- If context == null
or
if port == null
.java.lang.IllegalArgumentException
- if baudRate < 1
.DigiMeshDevice(Context, int)
,
DigiMeshDevice(Context, int, AndroidUSBPermissionListener)
,
DigiMeshDevice(Context, String, SerialPortParameters)
public DigiMeshDevice(android.content.Context context, java.lang.String port, com.digi.xbee.api.connection.serial.SerialPortParameters parameters)
DigiMeshDevice
object for
Android with the given parameters.
This constructor uses the Digi Android Serial Port API based on the RxTx library to communicate with the devices.
context
- The Android application context.port
- Serial port name where XBee device is attached to.parameters
- The serial port parameters.java.lang.NullPointerException
- If context == null
or
if port == null
or
if parameters == null
.DigiMeshDevice(Context, int)
,
DigiMeshDevice(Context, int, AndroidUSBPermissionListener)
,
DigiMeshDevice(Context, String, int)
,
SerialPortParameters