gatt_client_find_included_services_for_service() function
Finds included services within the specified service. For each found included service a GATT_EVENT_INCLUDED_SERVICE_QUERY_RESULT event will be emitted. The GATT_EVENT_QUERY_COMPLETE event marks the end of discovery. Information about included service type (primary/secondary) can be retrieved either by sending an ATT find information request for the returned start group handle (returning the handle and the UUID for primary or secondary service) or by comparing the service to the list of all primary services.
Return value
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