Function esp_idf_svc::hal::sys::esp_ble_gattc_get_all_char
source · pub unsafe extern "C" fn esp_ble_gattc_get_all_char(
gattc_if: u8,
conn_id: u16,
start_handle: u16,
end_handle: u16,
result: *mut esp_gattc_char_elem_t,
count: *mut u16,
offset: u16,
) -> u32
Expand description
@brief Find all the characteristic with the given service in the gattc cache Note: It just get characteristic 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] start_handle: the attribute start handle. @param[in] end_handle: the attribute end handle @param[out] result: The pointer to the characteristic in the service. @param[inout] count: input the number of characteristic want to find, it will output the number of characteristic has been found in the gattc cache with the given service. @param[in] offset: Offset of the characteristic position to get.
@return - ESP_OK: success - other: failed