From d6cc0847040ddec0c8e4a1c8a53c2985075047cc Mon Sep 17 00:00:00 2001 From: Sherman Perry <14854761+shermp@users.noreply.github.com> Date: Sun, 14 Jul 2024 13:13:44 +1200 Subject: [PATCH] Log service query results --- src/asha_bt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/asha_bt.cpp b/src/asha_bt.cpp index 39643a7..a8801f1 100644 --- a/src/asha_bt.cpp +++ b/src/asha_bt.cpp @@ -441,6 +441,7 @@ static void scan_gatt_event_handler (uint8_t packet_type, uint16_t channel, uint case GATT_EVENT_SERVICE_QUERY_RESULT: gatt_client_service_t service; gatt_event_service_query_result_get_service(packet, &service); + LOG_SCAN("Service Query: Service ID: 0x%04hx : UUID: %s\n", service.uuid16, uuid128_to_str(service.uuid128)); if (service.uuid16 == AshaUUID::service16 || uuid_eq(service.uuid128, AshaUUID::service)) { memcpy(&curr_scan.ha.service, &service, sizeof(service)); curr_scan.service_found = true;