summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-07-10 17:45:13 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-13 06:36:50 -0300
commitdd583b859773f9d15585273b87c2ca73eb626430 (patch)
treee242c54b751cc85170da706d7ff59b1386672ea6 /doc
parent4ef05c2ae439652addee08460d9fb0c848315c46 (diff)
downloadconnman-dd583b859773f9d15585273b87c2ca73eb626430.tar.gz
connman-dd583b859773f9d15585273b87c2ca73eb626430.tar.bz2
connman-dd583b859773f9d15585273b87c2ca73eb626430.zip
doc: Add necessary documentation about wpspin as a PreviousPassphrase type
Diffstat (limited to 'doc')
-rw-r--r--doc/agent-api.txt21
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index 91371af4..a98343fe 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -94,7 +94,9 @@ Fields string Name
provided as an informational argument when connecting
with it does not work anymore, for instance when it
has been changed on the AP. Such argument appears when
- a RequestInput is raised after a retry.
+ a RequestInput is raised after a retry. In case of WPS
+ association through PIN method: when retrying, the
+ previous wpspin will be provided.
string WPS
@@ -197,6 +199,23 @@ Examples Requesting a passphrase for WPA2 network
==> { "WPS" : "123456" }
+ Requesting a passphrase for a WPA2 network with WPS alternative
+ after an error on the previous one:
+
+ RequestInput("/service3",
+ { "Passphrase" : { "Type" : "psk",
+ "Requirement" : "mandatory",
+ "Alternates" : [ "WPS" ]
+ },
+ "WPS" : { "Type" : "wpspin",
+ "Requirement" : "alternate"
+ }
+ "PreviousPassphrase" :
+ { "Type" : "wpspin",
+ "Requirement : "informational",
+ "Value" : "123456"
+ }
+
Requesting passphrase for a WPA-Enterprise network:
RequestInput("/service4",