107 throws IllegalStateException;
138 throws IllegalStateException;
222 throws IllegalStateException;
BTGattChar event listener for notification and indication events.
Bit mask of GATT Characteristic Properties.
Representing a Gatt Characteristic object from the GATT client perspective.
String getUUID()
Get the UUID of this characteristic.
BTGattService getService()
Returns the service to which this characteristic belongs to.
boolean getNotifying(final boolean enabledState[])
Returns true if notification for changes of this characteristic are activated.
BTGattDesc getUserDescription()
Return the User Description BTGattDesc if available or null.
boolean writeValue(byte[] argValue, boolean withResponse)
Writes the value of this characteristic, using one of the following methods depending on withRespons...
boolean removeCharListener(final BTGattCharListener listener)
Remove the given associated BTGattCharListener from the listener list if present.
List< BTGattDesc > getDescriptors()
Returns a list of BluetoothGattDescriptors this characteristic exposes.
int removeAllAssociatedCharListener(final boolean shallDisableIndicationNotification)
Disables the notification and/or indication for this characteristic BLE level if disableIndicationNot...
boolean enableNotificationOrIndication(final boolean enabledState[])
BT Core Spec v5.2: Vol 3, Part G GATT: 3.3.3.3 Client Characteristic Configuration.
boolean configNotificationIndication(final boolean enableNotification, final boolean enableIndication, final boolean enabledState[])
BT Core Spec v5.2: Vol 3, Part G GATT: 3.3.3.3 Client Characteristic Configuration.
BTGattDesc findGattDesc(final String desc_uuid)
Find a BTGattDesc by its desc_uuid.
boolean addCharListener(final BTGattCharListener listener)
Add the given BTGattCharListener to the listener list if not already present.
BTGattDesc getClientCharConfig()
Return the Client Characteristic Configuration BTGattDesc if available or null.
boolean disableIndicationNotification()
BT Core Spec v5.2: Vol 3, Part G GATT: 3.3.3.3 Client Characteristic Configuration.
GattCharPropertySet getProperties()
Returns the properties of this characteristic.
byte[] readValue()
Reads the value of this characteristic.
Representing a Gatt Characteristic Descriptor object from the GATT client perspective.
Representing a Gatt Service object from the GATT client perspective.