summaryrefslogtreecommitdiff
path: root/doc/agent-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-04-30 01:13:52 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-04-30 01:13:52 +0200
commit52f2d485bd6ab6b7b2826370fca7bc54b9d81e1f (patch)
tree9808c75bb2aec57d472fd61dd788b54b7a5ec809 /doc/agent-api.txt
parentc88c15ee73471533e18cc58816ba34bd28e91977 (diff)
downloadconnman-52f2d485bd6ab6b7b2826370fca7bc54b9d81e1f.tar.gz
connman-52f2d485bd6ab6b7b2826370fca7bc54b9d81e1f.tar.bz2
connman-52f2d485bd6ab6b7b2826370fca7bc54b9d81e1f.zip
doc: Fix tabs vs spaces for agent documentation
Diffstat (limited to 'doc/agent-api.txt')
-rw-r--r--doc/agent-api.txt32
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index c362339e..c0196c30 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -127,7 +127,7 @@ Arguments string Type
Examples Requesting a passphrase for WPA2 network
RequestInput("/service1",
- { "Passphrase" : { "Type" : "psk",
+ { "Passphrase" : { "Type" : "psk",
"Requirement" : "mandatory"
}
}
@@ -140,9 +140,9 @@ Examples Requesting a passphrase for WPA2 network
"Requirement" : "mandatory",
"Alternates" : [ "SSID" ]
},
- "SSID" : { "Type" : "ssid",
- "Requirement" : "alternate"
- }
+ "SSID" : { "Type" : "ssid",
+ "Requirement" : "alternate"
+ }
}
==> { "Name" : "My hidden network" }
@@ -154,7 +154,7 @@ Examples Requesting a passphrase for WPA2 network
"Alternates" : [ "WPS" ]
},
"WPS" : { "Type" : "wpspin",
- "Requirement" : "alternate"
+ "Requirement" : "alternate"
}
}
@@ -166,7 +166,7 @@ Examples Requesting a passphrase for WPA2 network
{ "Identity" : { "Type" : "string",
"Requirement" : "mandatory"
},
- "Passphrase" : { "Type" : "passphrase",
+ "Passphrase" : { "Type" : "passphrase",
"Requirement" : "mandatory"
}
}
@@ -179,7 +179,7 @@ Examples Requesting a passphrase for WPA2 network
{ "Identity" : { "Type" : "string",
"Requirement" : "mandatory"
},
- "Passphrase" : { "Type" : "response",
+ "Passphrase" : { "Type" : "response",
"Requirement" : "mandatory"
}
}
@@ -189,12 +189,12 @@ Examples Requesting a passphrase for WPA2 network
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" }
+ { "Username" : { "Type" : "string",
+ "Requirement" : "mandatory"
+ },
+ "Password" : { "Type" : "passphrase",
+ "Requirement" : "mandatory"
+ }
+ }
+
+ ==> { "Username" : "foo", "Password": "secret" }