Function esp_idf_svc::hal::sys::esp_ble_gattc_search_service
source ยท pub unsafe extern "C" fn esp_ble_gattc_search_service(
gattc_if: u8,
conn_id: u16,
filter_uuid: *mut esp_bt_uuid_t,
) -> i32
Expand description
@brief This function is called to get service from local cache. This function report service search result by a callback event, and followed by a service search complete event. Note: 128-bit base UUID will automatically be converted to a 16-bit UUID in the search results. Other types of UUID remain unchanged.
@param[in] gattc_if: Gatt client access interface. @param[in] conn_id: connection ID. @param[in] filter_uuid: a UUID of the service application is interested in. If Null, discover for all services.
@return - ESP_OK: success - other: failed