summaryrefslogtreecommitdiffstats
path: root/test/monitor-ofono
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-11-18 22:37:25 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-11-18 22:37:25 +0100
commit640d2c95b97a3c0f5dfa9f0393a2d8fefc6801cc (patch)
treea94064a6d223f985d23283baa9748232eeb9f209 /test/monitor-ofono
parentfa3fa124037b2e97966277786f3652f1f0c73d0f (diff)
downloadofono-640d2c95b97a3c0f5dfa9f0393a2d8fefc6801cc.tar.bz2
Add some extra pretty decoding to monitor script
Diffstat (limited to 'test/monitor-ofono')
-rwxr-xr-xtest/monitor-ofono10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/monitor-ofono b/test/monitor-ofono
index 4f3c5a0f..86b81fc3 100755
--- a/test/monitor-ofono
+++ b/test/monitor-ofono
@@ -7,7 +7,15 @@ import dbus.mainloop.glib
def property_changed(name, value, path, interface):
iface = interface[interface.rfind(".") + 1:]
- if name in ["MobileNetworkCodeLength",
+ if name in ["Modems", "Interfaces",
+ "Technologies",
+ "SubscriberNumbers",
+ "AvailableOperators",
+ "PreferredLanguages"]:
+ val = ""
+ for i in value:
+ val += i + " "
+ elif name in ["MobileNetworkCodeLength",
"VoicemailMessageCount"]:
val = int(value)
else: