gatt_client_discover_primary_services_by_uuid16() function
Discovers a specific primary service given its UUID. This service may exist multiple times. For each found service a GATT_EVENT_SERVICE_QUERY_RESULT event will be emitted. The GATT_EVENT_QUERY_COMPLETE event marks the end of discovery.
status BTSTACK_MEMORY_ALLOC_FAILED, if no GATT client for con_handle is found GATT_CLIENT_IN_WRONG_STATE , if GATT client is not ready ERROR_CODE_SUCCESS , if query is successfully registered
Examples
gatt_client_discover_primary_services_by_uuid16() is referenced by 1 libraries and example projects: