projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add test script for showing connection details
[connman]
/
test
/
list-networks
diff --git
a/test/list-networks
b/test/list-networks
index
72a9ad1
..
11726a8
100755
(executable)
--- a/
test/list-networks
+++ b/
test/list-networks
@@
-19,4
+19,8
@@
for path in elements:
print "[ %s ]" % (path)
if (properties["Type"] == "network"):
- print " %s" % (properties["SSID"])
+ if (properties["Enabled"] == 1):
+ state = "*"
+ else:
+ state = " "
+ print " %s %s" % (state, properties["WiFi.Name"])