[PATCH 0/5 - v1] Agent API RequestBrowser method implementation

Tomasz Bursztyka tomasz.bursztyka at linux.intel.com
Wed Feb 8 06:24:39 PST 2012


Here is the implementation of RequestBrowser method of Agent API.
The current documentation seems wrong about the possible errors, it should be "Canceled" and not "Retry" as it for RequestInput.

The browser will be requested if only there is a redirection which does not provide any wispr support.
Every time the method will be answered without an error, the wispr/portal check will be ran again, until either it success or the user cancel the request.

It has not been tested yet, so this patchset is sent as a preview for comments.

Please review,

Tomasz Bursztyka (5):
  agent: adding support for requesting browser action
  wispr: request a browser action through agent api
  agent: handling browser request reply
  wispr: provide a callback for agent browser request to handle the
    result
  doc: documenting the right error belonging to browser request on
    agent api

 doc/agent-api.txt |    2 +-
 src/agent.c       |   82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/connman.h     |    6 ++++
 src/wispr.c       |   34 +++++++++++++++++++++-
 4 files changed, 122 insertions(+), 2 deletions(-)

-- 
1.7.8.4




More information about the connman mailing list