public class CellularBLEDevice extends XBeeBLEDevice
DigiMeshBLEDevice
,
Raw802BLEDevice
,
XBeeBLEDevice
,
ZigBeeBLEDevice
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 |
---|
CellularBLEDevice(android.content.Context context,
android.bluetooth.BluetoothDevice bleDevice,
java.lang.String password)
Class constructor.
|
CellularBLEDevice(android.content.Context context,
java.lang.String deviceAddress,
java.lang.String password)
Class constructor.
|
addMicroPythonDataListener, addPacketListener, addSerialDataListener, addUserDataRelayListener, close, getNextFrameID, getReceiveTimeout, isOpen, isRemote, open, removeMicroPythonDataListener, removePacketListener, removeSerialDataListener, removeUserDataRelayListener, reset, sendMicroPythonData, sendPacket, sendPacket, sendPacketAsync, sendSerialData, sendUserDataRelay, setBluetoothPassword, setReceiveTimeout, toString
addBluetoothDataListener, addDataListener, addExplicitDataListener, addIOSampleListener, addIPDataListener, addModemStatusListener, 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, getNetwork, getNodeID, getOperatingMode, getPANID, getParameter, getPowerLevel, getPWMDutyCycle, getXBeeProtocol, isApplyConfigurationChangesEnabled, readData, readData, readDataFrom, readDataFrom, readDeviceInfo, readExplicitData, readExplicitData, readExplicitDataFrom, readExplicitDataFrom, readIOSample, removeBluetoothDataListener, removeDataListener, removeExplicitDataListener, removeIOSampleListener, removeIPDataListener, removeModemStatusListener, removeSMSListener, sendAndCheckCoAPPacket, sendAndCheckXBeePacket, sendATCommand, sendBluetoothData, sendBroadcastData, sendBroadcastExplicitData, sendData, sendData, sendData, sendDataAsync, sendDataAsync, sendDataAsync, sendExplicitData, sendExplicitData, sendExplicitData, sendExplicitDataAsync, sendExplicitDataAsync, sendExplicitDataAsync, sendXBeePacket, sendXBeePacket, sendXBeePacketAsync, set16BitAddress, setAPIOutputMode, setDestinationAddress, setDIOChangeDetection, setDIOValue, setIOConfiguration, setIOSamplingRate, setIPv6DestinationAddress, setNodeID, setPANID, setParameter, setPowerLevel, setPWMDutyCycle, softwareReset, updateBluetoothPassword, updateDeviceDataFrom, writeChanges
public CellularBLEDevice(android.content.Context context, android.bluetooth.BluetoothDevice bleDevice, java.lang.String password)
CellularBLEDevice
object
for Android with the given parameters.
This constructor uses the Android Bluetooth Low Energy API to communicate with the devices.
The Bluetooth password must be provided before calling the
XBeeBLEDevice.open()
method, either through this constructor or the
XBeeBLEDevice.setBluetoothPassword(String)
method.
context
- The Android application context.bleDevice
- Bluetooth device.password
- Bluetooth password (can be null
).CellularBLEDevice(Context, String, String)
,
BluetoothDevice
public CellularBLEDevice(android.content.Context context, java.lang.String deviceAddress, java.lang.String password)
CellularBLEDevice
object
for Android with the given parameters.
This constructor uses the Android Bluetooth Low Energy API to communicate with the devices.
The Bluetooth password must be provided before calling the
XBeeBLEDevice.open()
method, either through this constructor or the
XBeeBLEDevice.setBluetoothPassword(String)
method.
context
- The Android application context.deviceAddress
- Address of the Bluetooth device.password
- Bluetooth password (can be null
).CellularBLEDevice(Context, BluetoothDevice, String)