Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
Representing a Gatt Characteristic Descriptor object from the GATT client perspective. More...
Public Member Functions | |
BTGattChar | getCharacteristic () |
Returns the characteristic to which this descriptor belongs to. More... | |
String | getUUID () |
Get the UUID of this descriptor. More... | |
byte[] | getValue () |
Returns the cached value of this descriptor, if any. More... | |
byte[] | readValue () |
Reads the value of this descriptor. More... | |
String | toString () |
boolean | writeValue (byte[] argValue) throws BTException |
Writes the value of this descriptor. More... | |
Public Member Functions inherited from org.direct_bt.BTObject | |
void | close () |
Release the native memory associated with this object The object should not be used following a call to close. More... | |
boolean | equals (Object obj) |
int | hashCode () |
Representing a Gatt Characteristic Descriptor object from the GATT client perspective.
A list of shared BTGattDesc instances is available from BTGattChar via BTGattChar::getDescriptors().
See Direct-BT Overview.
BT Core Spec v5.2: Vol 3, Part G GATT: 3.3.3 Characteristic Descriptor
See DBGattDesc.UUID16
for selected standard GATT descriptor numbers in UUID16 format and BTUtils#toUUID128(String)
for their conversion to UUID128.
Definition at line 41 of file BTGattDesc.java.
byte[] org.direct_bt.BTGattDesc.readValue | ( | ) |
Reads the value of this descriptor.
Implemented in jau.direct_bt.DBTGattDesc.
boolean org.direct_bt.BTGattDesc.writeValue | ( | byte[] | argValue | ) | throws BTException |
Writes the value of this descriptor.
[in] | arg_value | The data as vector<uchar> to be written packed in a GBytes struct |
Implemented in jau.direct_bt.DBTGattDesc.
String org.direct_bt.BTGattDesc.getUUID | ( | ) |
Get the UUID of this descriptor.
Implemented in jau.direct_bt.DBTGattDesc.
BTGattChar org.direct_bt.BTGattDesc.getCharacteristic | ( | ) |
Returns the characteristic to which this descriptor belongs to.
Implemented in jau.direct_bt.DBTGattDesc.
byte[] org.direct_bt.BTGattDesc.getValue | ( | ) |
Returns the cached value of this descriptor, if any.
Implemented in jau.direct_bt.DBTGattDesc.
String org.direct_bt.BTGattDesc.toString | ( | ) |
Implemented in jau.direct_bt.DBTGattDesc.