Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Public Member Functions | |
synchronized void | close () |
Release the native memory associated with this object The object should not be used following a call to close. More... | |
boolean | equals (final Object obj) |
String | getUUID () |
Get the UUID of this descriptor. More... | |
BTType | getBluetoothType () |
Returns the BluetoothType of this object. More... | |
final BTGattDesc | clone () |
final DBTGattChar | getCharacteristic () |
Returns the characteristic to which this descriptor belongs to. More... | |
final byte[] | getValue () |
Returns the cached value of this descriptor, if any. More... | |
final byte[] | readValue () |
Reads the value of this descriptor. More... | |
final boolean | writeValue (final byte[] value) throws BTException |
Writes the value of this descriptor. More... | |
final short | getHandle () |
Characteristic Descriptor Handle. More... | |
final String | toString () |
Public Member Functions inherited from jau.direct_bt.DBTObject | |
final int | hashCode () |
Public Member Functions inherited from jau.direct_bt.DBTNativeDownlink | |
final void | delete () |
Deletes the. More... | |
Protected Member Functions | |
native void | deleteImpl (long nativeInstance) |
Deletes the native instance. More... | |
Protected Member Functions inherited from jau.direct_bt.DBTObject | |
DBTObject (final long nativeInstance, final int hashValue) | |
void | finalize () |
Protected Member Functions inherited from jau.direct_bt.DBTNativeDownlink | |
DBTNativeDownlink (final long nativeInstance) | |
boolean | isValid () |
Definition at line 35 of file DBTGattDesc.java.
final BTGattDesc jau.direct_bt.DBTGattDesc.clone | ( | ) |
Reimplemented from jau.direct_bt.DBTObject.
Definition at line 97 of file DBTGattDesc.java.
synchronized void jau.direct_bt.DBTGattDesc.close | ( | ) |
Release the native memory associated with this object The object should not be used following a call to close.
Reimplemented from jau.direct_bt.DBTObject.
Definition at line 71 of file DBTGattDesc.java.
|
protected |
Deletes the native instance.
Called via delete() and at this point
nativeInstance | copy of nativeInstance reference, which has been already zeroed. |
Reimplemented from jau.direct_bt.DBTNativeDownlink.
boolean jau.direct_bt.DBTGattDesc.equals | ( | final Object | obj | ) |
Reimplemented from jau.direct_bt.DBTObject.
Definition at line 79 of file DBTGattDesc.java.
BTType jau.direct_bt.DBTGattDesc.getBluetoothType | ( | ) |
Returns the BluetoothType of this object.
Implements org.direct_bt.BTObject.
Definition at line 92 of file DBTGattDesc.java.
final DBTGattChar jau.direct_bt.DBTGattDesc.getCharacteristic | ( | ) |
Returns the characteristic to which this descriptor belongs to.
Implements org.direct_bt.BTGattDesc.
Definition at line 101 of file DBTGattDesc.java.
final short jau.direct_bt.DBTGattDesc.getHandle | ( | ) |
Characteristic Descriptor Handle.
Attribute handles are unique for each device (server) (BT Core Spec v5.2: Vol 3, Part F Protocol..: 3.2.2 Attribute Handle).
Definition at line 128 of file DBTGattDesc.java.
String jau.direct_bt.DBTGattDesc.getUUID | ( | ) |
Get the UUID of this descriptor.
Implements org.direct_bt.BTGattDesc.
Definition at line 89 of file DBTGattDesc.java.
final byte [] jau.direct_bt.DBTGattDesc.getValue | ( | ) |
Returns the cached value of this descriptor, if any.
Implements org.direct_bt.BTGattDesc.
Definition at line 104 of file DBTGattDesc.java.
final byte [] jau.direct_bt.DBTGattDesc.readValue | ( | ) |
Reads the value of this descriptor.
Implements org.direct_bt.BTGattDesc.
Definition at line 107 of file DBTGattDesc.java.
final String jau.direct_bt.DBTGattDesc.toString | ( | ) |
final boolean jau.direct_bt.DBTGattDesc.writeValue | ( | final 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 |
Implements org.direct_bt.BTGattDesc.
Definition at line 114 of file DBTGattDesc.java.