Class SendMultiDataSegmentCommand
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.SendMultiDataSegmentCommand
- All Implemented Interfaces:
SendDataCommand
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSendMultiDataSegmentCommand
(BluetoothMeshProxy proxy, MainThreadManager commandSerializer, int mtuSize, ExecutorService executorService, com.welie.blessed.BluetoothGattCharacteristic characteristic, byte[] data, BluetoothMeshProxySendDataCallback callback) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onCharacteristicWrite
(com.welie.blessed.BluetoothPeripheral peripheral, byte[] value, com.welie.blessed.BluetoothGattCharacteristic characteristic, com.welie.blessed.BluetoothCommandStatus status) boolean
sendData()
-
Field Details
-
LOG
-
-
Constructor Details
-
SendMultiDataSegmentCommand
public SendMultiDataSegmentCommand(BluetoothMeshProxy proxy, MainThreadManager commandSerializer, int mtuSize, ExecutorService executorService, com.welie.blessed.BluetoothGattCharacteristic characteristic, byte[] data, BluetoothMeshProxySendDataCallback callback)
-
-
Method Details
-
sendData
public boolean sendData()- Specified by:
sendData
in interfaceSendDataCommand
-
onCharacteristicWrite
public void onCharacteristicWrite(com.welie.blessed.BluetoothPeripheral peripheral, byte[] value, com.welie.blessed.BluetoothGattCharacteristic characteristic, com.welie.blessed.BluetoothCommandStatus status) - Specified by:
onCharacteristicWrite
in interfaceSendDataCommand
-