public class ZigBeeBLEDevice extends XBeeBLEDevice
CellularBLEDevice
,
DigiMeshBLEDevice
,
Raw802BLEDevice
,
XBeeBLEDevice
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 |
---|
ZigBeeBLEDevice(android.content.Context context,
android.bluetooth.BluetoothDevice bleDevice,
java.lang.String password)
Class constructor.
|
ZigBeeBLEDevice(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 ZigBeeBLEDevice(android.content.Context context, android.bluetooth.BluetoothDevice bleDevice, java.lang.String password)
ZigBeeBLEDevice
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
).ZigBeeBLEDevice(Context, String, String)
,
BluetoothDevice
public ZigBeeBLEDevice(android.content.Context context, java.lang.String deviceAddress, java.lang.String password)
ZigBeeBLEDevice
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
).ZigBeeBLEDevice(Context, BluetoothDevice, String)