2015-02-27 15:01:05 +01:00
|
|
|
Agent hierarchy
|
|
|
|
===============
|
|
|
|
|
|
|
|
Service unique name
|
|
|
|
Interface net.connman.iwd.Agent
|
|
|
|
Object path freely definable
|
|
|
|
|
|
|
|
Methods void Release()
|
|
|
|
|
|
|
|
This method gets called when the service daemon
|
|
|
|
unregisters the agent. An agent can use it to do
|
|
|
|
cleanup tasks. There is no need to unregister the
|
|
|
|
agent, because when this method gets called it has
|
|
|
|
already been unregistered.
|
|
|
|
|
|
|
|
string RequestPassphrase(object network)
|
|
|
|
|
|
|
|
This method gets called when trying to connect to
|
|
|
|
a network and passphrase is required.
|
|
|
|
|
|
|
|
Possible Errors: net.connman.iwd.Agent.Error.Canceled
|
|
|
|
|
2016-06-09 19:54:43 +02:00
|
|
|
void Cancel(string reason)
|
2015-02-27 15:01:05 +01:00
|
|
|
|
|
|
|
This method gets called to indicate that the agent
|
2016-06-09 19:54:43 +02:00
|
|
|
request failed before a reply was returned. The
|
|
|
|
argument will indicate why the request is being
|
|
|
|
cancelled and may be "out-of-range", "user-canceled",
|
|
|
|
"timed-out" or "shutdown".
|
2015-02-27 15:01:05 +01:00
|
|
|
|
|
|
|
Examples Requesting a passphrase for WPA2 network
|
|
|
|
|
|
|
|
RequestPassphrase("/network1")
|
|
|
|
==> "secret123"
|