Lines Matching refs:gatt_service_state
227 gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DISCOVER_W2_SEND; in gatt_client_provide_context_for_handle()
732 … btstack_assert(gatt_client->gatt_service_state == GATT_CLIENT_SERVICE_DISCOVER_W4_DONE); in gatt_client_service_packet_handler()
741 …btstack_assert(gatt_client->gatt_service_state == GATT_CLIENT_SERVICE_DISCOVER_CHARACTERISTICS_W4_… in gatt_client_service_packet_handler()
760 … btstack_assert(gatt_client->gatt_service_state == GATT_CLIENT_SERVICE_DATABASE_HASH_READ_W4_DONE); in gatt_client_service_packet_handler()
769 switch (gatt_client->gatt_service_state) { in gatt_client_service_packet_handler()
771 … gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DISCOVER_CHARACTERISTICS_W2_SEND; in gatt_client_service_packet_handler()
774 … gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_SERVICE_CHANGED_WRITE_CCCD_W2_SEND; in gatt_client_service_packet_handler()
777 … gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DATABASE_HASH_READ_W2_SEND; in gatt_client_service_packet_handler()
780 … gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DATABASE_HASH_WRITE_CCCD_W2_SEND; in gatt_client_service_packet_handler()
783 gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DONE; in gatt_client_service_packet_handler()
830 switch (gatt_client->gatt_service_state){ in gatt_client_notify_can_send_query()
832 gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DISCOVER_W4_DONE; in gatt_client_notify_can_send_query()
840 … gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DISCOVER_CHARACTERISTICS_W4_DONE; in gatt_client_notify_can_send_query()
852 … gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_SERVICE_CHANGED_WRITE_CCCD_W4_DONE; in gatt_client_notify_can_send_query()
868 … gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DATABASE_HASH_READ_W4_DONE; in gatt_client_notify_can_send_query()
880 … gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DATABASE_HASH_WRITE_CCCD_W4_DONE; in gatt_client_notify_can_send_query()
894 gatt_client->gatt_service_state = GATT_CLIENT_SERVICE_DONE; in gatt_client_notify_can_send_query()