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, ScheduledExecutorService executorService, com.welie.blessed.BluetoothGattCharacteristic characteristic, byte[] data, BluetoothMeshProxySendDataCallback callback) -
Method Summary
Modifier and TypeMethodDescriptionvoidonCharacteristicWrite(com.welie.blessed.BluetoothPeripheral peripheral, byte[] value, com.welie.blessed.BluetoothGattCharacteristic characteristic, com.welie.blessed.BluetoothCommandStatus status) booleansendData()
-
Field Details
-
LOG
-
-
Constructor Details
-
SendMultiDataSegmentCommand
public SendMultiDataSegmentCommand(BluetoothMeshProxy proxy, MainThreadManager commandSerializer, int mtuSize, ScheduledExecutorService executorService, com.welie.blessed.BluetoothGattCharacteristic characteristic, byte[] data, BluetoothMeshProxySendDataCallback callback)
-
-
Method Details
-
sendData
public boolean sendData()- Specified by:
sendDatain interfaceSendDataCommand
-
onCharacteristicWrite
public void onCharacteristicWrite(com.welie.blessed.BluetoothPeripheral peripheral, byte[] value, com.welie.blessed.BluetoothGattCharacteristic characteristic, com.welie.blessed.BluetoothCommandStatus status) - Specified by:
onCharacteristicWritein interfaceSendDataCommand
-