test: WPS input added in agent test script
[framework/connectivity/connman.git] / test / monitor-connman
index 97d3a6b..9e2a830 100755 (executable)
@@ -7,7 +7,7 @@ import dbus.mainloop.glib
 
 def property_changed(name, value, path, interface):
        iface = interface[interface.rfind(".") + 1:]
-       if (name == "Strength"):
+       if name in ["Strength", "Priority"]:
                val = int(value)
        else:
                val = str(value)
@@ -19,7 +19,7 @@ if __name__ == '__main__':
        bus = dbus.SystemBus()
 
        bus.add_signal_receiver(property_changed,
-                                       bus_name="org.moblin.connman",
+                                       bus_name="net.connman",
                                        signal_name = "PropertyChanged",
                                                path_keyword="path",
                                                interface_keyword="interface")