summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2011-06-14 12:55:28 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-06-21 11:39:01 +0200
commit28c2a79b22405dcc848633bdaff0dd716520b4b5 (patch)
treefe3db1d29a94920556439ddcbb8fb85fdfa30a39 /doc
parent807ec513e73ab59b5066cf5ecb675b56cf9e59e3 (diff)
downloadconnman-28c2a79b22405dcc848633bdaff0dd716520b4b5.tar.gz
connman-28c2a79b22405dcc848633bdaff0dd716520b4b5.tar.bz2
connman-28c2a79b22405dcc848633bdaff0dd716520b4b5.zip
agent: Add documentation about WISPr-enabled hotspot input request.
Diffstat (limited to 'doc')
-rw-r--r--doc/agent-api.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index c9a0b0f2..14b2e50a 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -80,6 +80,16 @@ Fields string Name
method, or a pin code if user wants to use the pin
method.
+ string Username
+
+ Username for WISPr authentication. This field will be
+ requested when connecting to a WISPr-enabled hotspot.
+
+ string Password
+
+ Password for WISPr authentication. This field will be
+ requested when connecting to a WISPr-enabled hotspot.
+
Arguments string Type
Contains the type of a field. For example "psk", "wep"
@@ -164,3 +174,16 @@ Examples Requesting a passphrase for WPA2 network
}
==> { "Identity" : "bob", "Passphrase": "secret123" }
+
+ Requesting username and password for a WISPr-enabled hotspot:
+
+ RequestInput("/service5",
+ { "Username" : { "Type" : "string",
+ "Requirement" : "mandatory"
+ },
+ "Password" : { "Type" : "passphrase",
+ "Requirement" : "mandatory"
+ }
+ }
+
+ ==> { "Username" : "foo", "Password": "secret" }