projects
/
platform
/
upstream
/
connman.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add test script for showing connection details
[platform/upstream/connman.git]
/
test
/
get-state
1
#!/usr/bin/python
2
3
import dbus
4
5
bus = dbus.SystemBus()
6
7
manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"),
8
'org.moblin.connman.Manager')
9
10
state = manager.GetState()
11
12
print "System is %s" % (state)