diff --git a/client/gatt.c b/client/gatt.c
index 0a3adb8..e4a802c 100644
--- a/client/gatt.c
+++ b/client/gatt.c
if (!text)
text = uuid;
- rl_printf("%s%s%sService %s %s %s\n",
+ rl_printf("%s%s%s%s Service\n\t%s\n\t%s\n",
description ? "[" : "",
description ? : "",
description ? "] " : "",
+ primary ? "Primary" : "Secondary",
g_dbus_proxy_get_path(proxy),
- text, primary ? "(Primary)" : "(Secondary)");
+ text);
}
void gatt_add_service(GDBusProxy *proxy)
if (!text)
text = uuid;
- rl_printf("%s%s%sCharacteristic %s %s\n",
+ rl_printf("%s%s%sCharacteristic\n\t%s\n\t%s\n",
description ? "[" : "",
description ? : "",
description ? "] " : "",
if (!text)
text = uuid;
- rl_printf("%s%s%sDescriptor %s %s\n",
+ rl_printf("%s%s%sDescriptor\n\t%s\n\t%s\n",
description ? "[" : "",
description ? : "",
description ? "] " : "",