Diff between 9c35b133ed1548ef8dcfe4ab1b341ec11c570582 and ed78d12fe9784cd5d861d826b671795ad01d1873

Changed Files

File Additions Deletions Status
client/gatt.c +5 -4 modified

Full Patch

diff --git a/client/gatt.c b/client/gatt.c
index 0a3adb8..e4a802c 100644
--- a/client/gatt.c
+++ b/client/gatt.c
@@ -75,12 +75,13 @@ static void print_service(GDBusProxy *proxy, const char *description)
 	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)
@@ -111,7 +112,7 @@ static void print_characteristic(GDBusProxy *proxy, const char *description)
 	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 ? "] " : "",
@@ -176,7 +177,7 @@ static void print_descriptor(GDBusProxy *proxy, const char *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 ? "] " : "",