public class Raw802Device
extends com.digi.xbee.api.Raw802Device
CellularDevice
,
DigiPointDevice
,
DigiMeshDevice
,
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 |
---|
Raw802Device(android.content.Context context,
int baudRate)
Class constructor.
|
Raw802Device(android.content.Context context,
int baudRate,
AndroidUSBPermissionListener permissionListener)
Class constructor.
|
Raw802Device(android.content.Context context,
java.lang.String port,
int baudRate)
Class constructor.
|
Raw802Device(android.content.Context context,
java.lang.String port,
com.digi.xbee.api.connection.serial.SerialPortParameters parameters)
Class constructor.
|
getAssociationIndicationStatus, getIPv6Address, getIPv6DestinationAddress, getNetwork, getXBeeProtocol, open, sendData, sendData, sendDataAsync, sendDataAsync, set16BitAddress, 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
addExplicitDataListener, addIPDataListener, addSerialDataListener, addSMSListener, applyChanges, checkATCommandResponseIsValid, determineOperatingMode, disableBluetooth, enableApplyConfigurationChanges, enableBluetooth, executeParameter, forceDisassociate, get16BitAddress, get64BitAddress, getADCValue, getAPIOutputMode, getBluetoothMacAddress, getConnectionInterface, getDestinationAddress, getDIOChangeDetection, getDIOValue, getFirmwareVersion, getHardwareVersion, getIOConfiguration, getIOSamplingRate, getNodeID, getPANID, getParameter, getPowerLevel, getPWMDutyCycle, isApplyConfigurationChangesEnabled, readDeviceInfo, readExplicitData, readExplicitData, readExplicitDataFrom, readExplicitDataFrom, readIOSample, removeExplicitDataListener, removeIPDataListener, removeSerialDataListener, removeSMSListener, sendAndCheckCoAPPacket, sendAndCheckXBeePacket, sendATCommand, sendBroadcastExplicitData, sendData, sendDataAsync, sendExplicitData, sendExplicitData, sendExplicitData, sendExplicitDataAsync, sendExplicitDataAsync, sendExplicitDataAsync, sendSerialData, sendXBeePacket, sendXBeePacket, sendXBeePacketAsync, setAPIOutputMode, setBluetoothPassword, setDestinationAddress, setDIOChangeDetection, setDIOValue, setIOConfiguration, setIOSamplingRate, setNodeID, setPANID, setParameter, setPowerLevel, setPWMDutyCycle, softwareReset, updateBluetoothPassword, updateDeviceDataFrom, writeChanges
public Raw802Device(android.content.Context context, int baudRate)
Raw802Device
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
.Raw802Device(Context, int, AndroidUSBPermissionListener)
,
Raw802Device(Context, String, int)
,
Raw802Device(Context, String, SerialPortParameters)
public Raw802Device(android.content.Context context, int baudRate, AndroidUSBPermissionListener permissionListener)
Raw802Device
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
.Raw802Device(Context, int)
,
Raw802Device(Context, String, int)
,
Raw802Device(Context, String, SerialPortParameters)
,
AndroidUSBPermissionListener
public Raw802Device(android.content.Context context, java.lang.String port, int baudRate)
Raw802Device
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
.Raw802Device(Context, int)
,
Raw802Device(Context, int, AndroidUSBPermissionListener)
,
Raw802Device(Context, String, SerialPortParameters)
public Raw802Device(android.content.Context context, java.lang.String port, com.digi.xbee.api.connection.serial.SerialPortParameters parameters)
Raw802Device
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
.Raw802Device(Context, int)
,
Raw802Device(Context, int, AndroidUSBPermissionListener)
,
Raw802Device(Context, String, int)
,
SerialPortParameters