gatt_client_read_characteristic_descriptor_using_descriptor_handle() function
Reads the characteristic descriptor using its handle. If the characteristic descriptor is found, a GATT_EVENT_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT event will be emitted. The GATT_EVENT_QUERY_COMPLETE event marks the end of read.
Return value
status ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if no HCI connection for con_handle is found BTSTACK_MEMORY_ALLOC_FAILED if no GATT client for con_handle could be allocated GATT_CLIENT_IN_WRONG_STATE if GATT client is not ready ERROR_CODE_SUCCESS if query is successfully registered