Direct-BT v3.3.0-1-gc2d430c
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) |
final DBTGattChar | getCharacteristic () |
Returns the characteristic to which this descriptor belongs to. More... | |
final short | getHandle () |
Characteristic Descriptor Handle. More... | |
String | getUUID () |
Get the UUID of this descriptor. 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 String | toString () |
final boolean | writeValue (final byte[] value) throws BTException |
Writes the value of this descriptor. More... | |
Public Member Functions inherited from jau.direct_bt.DBTObject | |
synchronized void | close () |
Release the native memory associated with this object The object should not be used following a call to close. More... | |
abstract boolean | equals (final Object obj) |
final int | hashCode () |
Public Member Functions inherited from jau.direct_bt.DBTNativeDownlink | |
final void | delete () |
Deletes the nativeInstance in the following order. More... | |
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 () |
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... | |
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 () | |
DBTNativeDownlink (final long nativeInstance) | |
abstract void | deleteImpl (long nativeInstance) |
Deletes the native instance. More... | |
void | finalize () |
final void | initDownlink (final long nativeInstance) |
final boolean | isNativeValid () |
Returns true if native instance is valid, otherwise false. More... | |
Definition at line 33 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 69 of file DBTGattDesc.java.
boolean jau.direct_bt.DBTGattDesc.equals | ( | final Object | obj | ) |
Reimplemented from jau.direct_bt.DBTObject.
Definition at line 77 of file DBTGattDesc.java.
String jau.direct_bt.DBTGattDesc.getUUID | ( | ) |
Get the UUID of this descriptor.
Implements org.direct_bt.BTGattDesc.
Definition at line 87 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 90 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 93 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 96 of file DBTGattDesc.java.
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 103 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 117 of file DBTGattDesc.java.
final String jau.direct_bt.DBTGattDesc.toString | ( | ) |
Implements org.direct_bt.BTGattDesc.
Definition at line 120 of file DBTGattDesc.java.
|
protected |
Deletes the native instance.
Called via delete()
and at this point
JavaUplink
's javaObjectRef = nullptr
nativeInstance
reference has been zeroed, but passed as argument for this final native deletion task. nativeInstance | copy of nativeInstance reference, which has been already zeroed. |
Reimplemented from jau.direct_bt.DBTNativeDownlink.