public class XBeeDevice
extends com.digi.xbee.api.XBeeDevice
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 |
---|
XBeeDevice(android.content.Context context,
int baudRate)
Class constructor.
|
XBeeDevice(android.content.Context context,
int baudRate,
AndroidUSBPermissionListener permissionListener)
Class constructor.
|
XBeeDevice(android.content.Context context,
java.lang.String port,
int baudRate)
Class constructor.
|
XBeeDevice(android.content.Context context,
java.lang.String port,
com.digi.xbee.api.connection.serial.SerialPortParameters parameters)
Class constructor.
|
addBluetoothDataListener, addDataListener, addIOSampleListener, addMicroPythonDataListener, addModemStatusListener, addPacketListener, addUserDataRelayListener, close, getNetwork, getNextFrameID, getOperatingMode, getReceiveTimeout, isOpen, isRemote, open, 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, getAssociationIndicationStatus, getBluetoothMacAddress, getConnectionInterface, getDestinationAddress, getDIOChangeDetection, getDIOValue, getFirmwareVersion, getHardwareVersion, getIOConfiguration, getIOSamplingRate, getIPv6Address, getIPv6DestinationAddress, getNodeID, getPANID, getParameter, getPowerLevel, getPWMDutyCycle, getXBeeProtocol, isApplyConfigurationChangesEnabled, readDeviceInfo, readExplicitData, readExplicitData, readExplicitDataFrom, readExplicitDataFrom, readIOSample, removeExplicitDataListener, removeIPDataListener, removeSerialDataListener, removeSMSListener, sendAndCheckCoAPPacket, sendAndCheckXBeePacket, sendATCommand, sendBroadcastExplicitData, sendData, sendData, sendDataAsync, sendDataAsync, sendExplicitData, sendExplicitData, sendExplicitData, sendExplicitDataAsync, sendExplicitDataAsync, sendExplicitDataAsync, sendSerialData, sendXBeePacket, sendXBeePacket, sendXBeePacketAsync, set16BitAddress, setAPIOutputMode, setBluetoothPassword, setDestinationAddress, setDIOChangeDetection, setDIOValue, setIOConfiguration, setIOSamplingRate, setIPv6DestinationAddress, setNodeID, setPANID, setParameter, setPowerLevel, setPWMDutyCycle, softwareReset, updateBluetoothPassword, updateDeviceDataFrom, writeChanges
public XBeeDevice(android.content.Context context, int baudRate)
XBeeDevice
object for
Android with the given parameters.
This constructor uses the Android USB host interface API to communicate with the devices.
context
- The Android context.baudRate
- The USB connection baud rate.java.lang.IllegalArgumentException
- if baudRate < 1
.java.lang.NullPointerException
- if context == null
.XBeeDevice(Context, int, AndroidUSBPermissionListener)
,
XBeeDevice(Context, String, int)
,
XBeeDevice(Context, String, SerialPortParameters)
public XBeeDevice(android.content.Context context, int baudRate, AndroidUSBPermissionListener permissionListener)
XBeeDevice
object for
Android with the given parameters.
This constructor uses the Android USB host interface API to communicate with the devices.
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
.XBeeDevice(Context, int)
,
XBeeDevice(Context, String, int)
,
XBeeDevice(Context, String, SerialPortParameters)
,
AndroidUSBPermissionListener
public XBeeDevice(android.content.Context context, java.lang.String port, int baudRate)
XBeeDevice
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
.XBeeDevice(Context, int)
,
XBeeDevice(Context, int, AndroidUSBPermissionListener)
,
XBeeDevice(Context, String, SerialPortParameters)
public XBeeDevice(android.content.Context context, java.lang.String port, com.digi.xbee.api.connection.serial.SerialPortParameters parameters)
XBeeDevice
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
.XBeeDevice(Context, int)
,
XBeeDevice(Context, int, AndroidUSBPermissionListener)
,
XBeeDevice(Context, String, int)
,
SerialPortParameters