public static class Lwm2mService.DataCharacteristic extends Characteristic
Modifier and Type | Method and Description |
---|---|
void |
cancelReadValue() |
static Lwm2mService.DataCharacteristic |
create(android.bluetooth.BluetoothGattService service,
android.bluetooth.BluetoothGatt gatt) |
io.reactivex.Observable<byte[]> |
getNextResponse() |
io.reactivex.Observable<byte[]> |
getResponses$() |
io.reactivex.Observable<byte[]> |
writeMessage(byte[] data)
Write lwm2m buffer formatted data.
|
io.reactivex.Observable<byte[]> |
writeResetFrame()
Write a reset frame.
|
cancelPendingOperations, cancelWriteValue, disableNotificationOrIndication, enableIndication, enableNotification, getBluetoothGattCharacteristic, isValueReadable, isValueWritable, onReadComplete, readDescriptor, readValue, values, writeDescriptor, writeValue
public io.reactivex.Observable<byte[]> writeResetFrame()
@NonNull public io.reactivex.Observable<byte[]> writeMessage(byte[] data)
data
- raw data to be sendpublic static Lwm2mService.DataCharacteristic create(android.bluetooth.BluetoothGattService service, android.bluetooth.BluetoothGatt gatt) throws CharacteristicNotAvailableException
public io.reactivex.Observable<byte[]> getResponses$()
public io.reactivex.Observable<byte[]> getNextResponse()
public void cancelReadValue()
cancelReadValue
in class Characteristic