Add a special test script to monitor service related signals
[connman] / test / list-connections
index 806490d..655e50a 100755 (executable)
@@ -18,6 +18,10 @@ for path in properties["Connections"]:
        print "[ %s ]" % (path)
 
        for key in properties.keys():
-               print "    %s = %s" % (key, properties[key])
+               if key in ["Strength", "Priority"]:
+                       val = int(properties[key])
+               else:
+                       val = str(properties[key])
+               print "    %s = %s" % (key, val)
 
        print