dundee: Watch for signals only on DUNDEE_SERVICE
[framework/connectivity/connman.git] / test / get-state
index f82b44c..75d5a16 100755 (executable)
@@ -4,9 +4,9 @@ import dbus
 
 bus = dbus.SystemBus()
 
-manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"),
-                                       'org.moblin.connman.Manager')
+manager = dbus.Interface(bus.get_object('net.connman', "/"),
+                                       'net.connman.Manager')
 
-state = manager.GetState()
+properties = manager.GetProperties()
 
-print "System is %s" % (state)
+print "System is %s" % (properties["State"])