pub unsafe extern "C" fn esp_ble_gattc_get_descr_by_char_handle(
gattc_if: esp_gatt_if_t,
conn_id: u16,
char_handle: u16,
descr_uuid: esp_bt_uuid_t,
result: *mut esp_gattc_descr_elem_t,
count: *mut u16,
) -> esp_gatt_status_t
Expand description
@brief Find the descriptor with the given characteristic handle in the gattc cache Note: It just get descriptor from local cache, won’t get from remote devices.
@param[in] gattc_if: Gatt client access interface. @param[in] conn_id: connection ID which identify the server. @param[in] char_handle: the characteristic handle. @param[in] descr_uuid: the descriptor uuid. @param[out] result: The pointer to the descriptor in the given characteristic. @param[inout] count: input the number of descriptor want to find, it will output the number of descriptor has been found in the gattc cache with the given characteristic.
@return - ESP_OK: success - other: failed