summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-07-10 14:45:13 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2012-07-13 09:36:50 (GMT)
commitdd583b859773f9d15585273b87c2ca73eb626430 (patch)
treee242c54b751cc85170da706d7ff59b1386672ea6 /doc
parent4ef05c2ae439652addee08460d9fb0c848315c46 (diff)
downloadconnman-dd583b859773f9d15585273b87c2ca73eb626430.tar.gz
connman-dd583b859773f9d15585273b87c2ca73eb626430.tar.xz
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 91371af..a98343f 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",