Found 8 other functions taking a
gatt_client_characteristic_t
argument:
Writes the client characteristic configuration of the specified characteristic. It is used to subscribe for notifications or indications of the characteristic value. For notifications or indications specify: GATT_CLIENT_CHARACTERISTICS_CONFIGURATION_NOTIFICATION resp. GATT_CLIENT_CHARACTERISTICS_CONFIGURATION_INDICATION as configuration value. The GATT_EVENT_QUERY_COMPLETE event marks the end of write. The write is successfully performed if the event's att_status field is set to ATT_ERROR_SUCCESS (see bluetooth.h for ATT_ERROR codes).
Register for notifications and indications of a characteristic enabled by the gatt_client_write_client_characteristic_configuration function.
Get field characteristic from event GATT_EVENT_CHARACTERISTIC_QUERY_RESULT
Discovers attribute handle and UUID of a characteristic descriptor within the specified characteristic. For each found descriptor a GATT_EVENT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT event will be emitted. The GATT_EVENT_QUERY_COMPLETE event marks the end of discovery.
Reads the characteristic value using the characteristic's value handle. If the characteristic value is found a GATT_EVENT_CHARACTERISTIC_VALUE_QUERY_RESULT event will be emitted. The GATT_EVENT_QUERY_COMPLETE event marks the end of read.
Reads the long characteristic value using the characteristic's value handle. The value will be returned in several blobs. For each blob, a GATT_EVENT_LONG_CHARACTERISTIC_VALUE_QUERY_RESULT event with updated value offset will be emitted. The GATT_EVENT_QUERY_COMPLETE event marks the end of read.