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)