public class DigiPointDevice
extends com.digi.xbee.api.DigiPointDevice
CellularDevice
,
DigiMeshDevice
,
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 |
---|
DigiPointDevice(android.content.Context context,
int baudRate)
Class constructor.
|
DigiPointDevice(android.content.Context context,
int baudRate,
AndroidUSBPermissionListener permissionListener)
Class constructor.
|
DigiPointDevice(android.content.Context context,
java.lang.String port,
int baudRate)
Class constructor.
|
DigiPointDevice(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 DigiPointDevice(android.content.Context context, int baudRate)
DigiPointDevice
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
.DigiPointDevice(Context, int, AndroidUSBPermissionListener)
,
DigiPointDevice(Context, String, int)
,
DigiPointDevice(Context, String, SerialPortParameters)
public DigiPointDevice(android.content.Context context, int baudRate, AndroidUSBPermissionListener permissionListener)
DigiPointDevice
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
.DigiPointDevice(Context, int)
,
DigiPointDevice(Context, String, int)
,
DigiPointDevice(Context, String, SerialPortParameters)
,
AndroidUSBPermissionListener
public DigiPointDevice(android.content.Context context, java.lang.String port, int baudRate)
DigiPointDevice
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
.DigiPointDevice(Context, int)
,
DigiPointDevice(Context, int, AndroidUSBPermissionListener)
,
DigiPointDevice(Context, String, SerialPortParameters)
public DigiPointDevice(android.content.Context context, java.lang.String port, com.digi.xbee.api.connection.serial.SerialPortParameters parameters)
DigiPointDevice
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
.DigiPointDevice(Context, int)
,
DigiPointDevice(Context, int, AndroidUSBPermissionListener)
,
DigiPointDevice(Context, String, int)
,
SerialPortParameters