---
test/simple-agent | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/test/simple-agent b/test/simple-agent
index cda9693..b948175 100755
--- a/test/simple-agent
+++ b/test/simple-agent
@@ -95,6 +95,22 @@ class Agent(dbus.service.Object):
return response
@dbus.service.method("net.connman.Agent",
+ in_signature='os}',
+ out_signature='')
+ def RequestBrowser(self, path, url):
+ print "RequestBrowser (%s,%s)" % (path, url)
+
+ print "Please login through the given url in a browser"
+ print "Then press enter to accept or some text to cancel"
+
+ args = raw_input('> ')
+
+ if len(args) >= 0:
+ raise Canceled("canceled")
+
+ return None
+
+ @dbus.service.method("net.connman.Agent",
in_signature='os',
out_signature='')
def ReportError(self, path, error):
--
1.7.8.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman