Diff between 113ad305379e248f1c15bc66d77dfa95f82a8eaf and 68daef224d723092bd3677787a4c484de8a6f27b

Changed Files

File Additions Deletions Status
tools/btgatt-client.c +3 -2 modified

Full Patch

diff --git a/tools/btgatt-client.c b/tools/btgatt-client.c
index d900e08..d21bc34 100644
--- a/tools/btgatt-client.c
+++ b/tools/btgatt-client.c
@@ -183,8 +183,9 @@ static void print_service(const bt_gatt_service_t *service)
 	}
 
 	printf(COLOR_RED "service" COLOR_OFF " - start: 0x%04x, "
-				"end: 0x%04x, uuid: ",
-				service->start_handle, service->end_handle);
+				"end: 0x%04x, type: %s, uuid: ",
+				service->start_handle, service->end_handle,
+				service->primary ? "primary" : "secondary");
 	print_uuid(service->uuid);
 
 	while (bt_gatt_characteristic_iter_next(&iter, &chrc)) {