@ProviderType
public interface BluetoothLeGattDescriptor
Modifier and Type | Method and Description |
---|---|
BluetoothLeGattCharacteristic |
getCharacteristic()
Returns the characteristic to which this descriptor belongs to.
|
java.util.UUID |
getUUID()
Get the UUID of this descriptor.
|
byte[] |
getValue()
Returns the cached value of this descriptor, if any.
|
byte[] |
readValue()
Reads the value of this descriptor
|
void |
writeValue(byte[] value)
Writes the value of this descriptor.
|
byte[] readValue() throws KuraBluetoothIOException
KuraBluetoothIOException
void writeValue(byte[] value) throws KuraBluetoothIOException
value
- The data as byte[] to be writtenKuraBluetoothIOException
java.util.UUID getUUID()
BluetoothLeGattCharacteristic getCharacteristic()
byte[] getValue()