projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.26
[platform/upstream/connman.git]
/
test
/
show-introspection
diff --git
a/test/show-introspection
b/test/show-introspection
index
e64dd27
..
4b6450f
100755
(executable)
--- a/
test/show-introspection
+++ b/
test/show-introspection
@@
-4,18
+4,18
@@
import dbus
bus = dbus.SystemBus()
bus = dbus.SystemBus()
-object = dbus.Interface(bus.get_object("
org.moblin
.connman", '/'),
+object = dbus.Interface(bus.get_object("
net
.connman", '/'),
"org.freedesktop.DBus.Introspectable")
print object.Introspect()
"org.freedesktop.DBus.Introspectable")
print object.Introspect()
-manager = dbus.Interface(bus.get_object("
org.moblin
.connman", "/"),
- "
org.moblin
.connman.Manager")
+manager = dbus.Interface(bus.get_object("
net
.connman", "/"),
+ "
net
.connman.Manager")
-
properties = manager.GetPropert
ies()
+
technologies = manager.GetTechnolog
ies()
-for path
in properties["Technologies"]
:
- object = dbus.Interface(bus.get_object("
org.moblin
.connman", path),
+for path
, properties in technologies
:
+ object = dbus.Interface(bus.get_object("
net
.connman", path),
"org.freedesktop.DBus.Introspectable")
print object.Introspect()
"org.freedesktop.DBus.Introspectable")
print object.Introspect()