--- tools/btgatt-client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)) { -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html