Function esp_idf_svc::sys::esp_ble_gattc_get_include_service

source ·
pub unsafe extern "C" fn esp_ble_gattc_get_include_service(
    gattc_if: u8,
    conn_id: u16,
    start_handle: u16,
    end_handle: u16,
    incl_uuid: *mut esp_bt_uuid_t,
    result: *mut esp_gattc_incl_svc_elem_t,
    count: *mut u16,
) -> u32
Expand description

@brief Find the include service with the given service handle in the gattc cache Note: It just get include service 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[in] incl_uuid: the include service uuid @param[out] result: The pointer to the include service in the given service. @param[inout] count: input the number of include service want to find, it will output the number of include service has been found in the gattc cache with the given service.

@return - ESP_OK: success - other: failed