Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Provides access to Bluetooth GATT descriptor. More...
Public Member Functions | |
byte[] | readValue () |
Reads the value of this descriptor. More... | |
boolean | writeValue (byte[] argValue) throws BTException |
Writes the value of this descriptor. More... | |
String | getUUID () |
Get the UUID of this descriptor. More... | |
BTGattChar | getCharacteristic () |
Returns the characteristic to which this descriptor belongs to. More... | |
byte[] | getValue () |
Returns the cached value of this descriptor, if any. More... | |
Public Member Functions inherited from org.direct_bt.BTObject | |
BTType | getBluetoothType () |
Returns the BluetoothType of this object. More... | |
boolean | equals (Object obj) |
int | hashCode () |
void | close () |
Release the native memory associated with this object The object should not be used following a call to close. More... | |
Provides access to Bluetooth GATT descriptor.
Definition at line 37 of file BTGattDesc.java.
BTGattChar org.direct_bt.BTGattDesc.getCharacteristic | ( | ) |
Returns the characteristic to which this descriptor belongs to.
Implemented in jau.direct_bt.DBTGattDesc.
String org.direct_bt.BTGattDesc.getUUID | ( | ) |
Get the UUID of this descriptor.
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.
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.