Function esp_idf_svc::sys::esp_ble_gattc_get_all_descr
source · pub unsafe extern "C" fn esp_ble_gattc_get_all_descr(
gattc_if: u8,
conn_id: u16,
char_handle: u16,
result: *mut esp_gattc_descr_elem_t,
count: *mut u16,
offset: u16,
) -> u32
Expand description
@brief Find all the descriptor with the given characteristic 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 given characteristic handle @param[out] result: The pointer to the descriptor in the 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. @param[in] offset: Offset of the descriptor position to get.
@return - ESP_OK: success - other: failed