projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa3fa12
)
Add some extra pretty decoding to monitor script
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 18 Nov 2009 21:37:25 +0000
(22:37 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 18 Nov 2009 21:37:25 +0000
(22:37 +0100)
test/monitor-ofono
patch
|
blob
|
history
diff --git
a/test/monitor-ofono
b/test/monitor-ofono
index
4f3c5a0
..
86b81fc
100755
(executable)
--- 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: