Hi,

On Thu, 2012-08-09 at 22:30 -0400, Jerrill Johnson wrote:
> reference: https://wiki.archlinux.org/index.php/Connman
> However, passphrase doesn't seem to be supported by the version 1.4
> script.

The information referring to the passphrase is old at least.

> I'm trying to incorporate some wireless management operation in the UI
> for
> my application and am struggling to find the best way to implement the
> following options:

> 1) connect to an access point with a variety of security
> configurations

First your UI needs to implement ConnMan's Agent D-Bus API, see
doc/agent-api.txt. Then your application needs to register itself to
ConnMan via the Manager API net.connman.Manager.RegisterAgent() D-Bus
method call. After the registration is done, ConnMan will call your
application's net.connman.Agent.RequestInput() method whenever it needs
a passphrase from the user. There are examples in the agent-api.txt
documentation of what to expect, as an example of a very simple
application handling the authentication you can look at
test/simple-agent.

> 2) provide a peer-to-peer type connection when an AP is not available
> (obviously I'm using tethering to accomplish this)

The application has to set set the three Tethering* properties for the
WiFi technology, see doc/technology-api.txt for this. As an example look
at test/enable-tethering.

BTW, there is a GNOME3 extension on
github.com/connectivity/gnome-extension-connman


HTH,

        Patrik


_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to