From: Tomasz Bursztyka Date: Mon, 25 Jun 2012 10:16:37 +0000 (+0300) Subject: doc: Document 'informational' value of Requirement field X-Git-Tag: 2.0_alpha~37 X-Git-Url: http://review.tizen.org/git/?p=framework%2Fconnectivity%2Fconnman.git;a=commitdiff_plain;h=a3e24ecbba6aa21bbe496c662e96c4b620e76ac9 doc: Document 'informational' value of Requirement field --- diff --git a/doc/agent-api.txt b/doc/agent-api.txt index 8201ac1..91371af 100644 --- a/doc/agent-api.txt +++ b/doc/agent-api.txt @@ -118,14 +118,14 @@ Fields string Name Arguments string Type Contains the type of a field. For example "psk", "wep" - "informational", "passphrase", "response", "ssid", - "wpspin" or plain "string". "informational" has no - "Requirement" but a "Value". + "passphrase", "response", "ssid", "wpspin" or plain + "string". string Requirement Contains the requirement option. Valid values are - "mandatory", "optional" or "alternate". + "mandatory", "optional", "alternate" or + "informational". The "alternate" value specifies that this field can be returned as an alternative to another one. An example @@ -134,6 +134,10 @@ Arguments string Type All "mandatory" fields must be returned, while the "optional" can be returned if available. + Nothing needs to be returned for "informational", as it + is here only to provide an information so a value is + attached to it. + array{string} Alternates Contains the list of alternate field names this @@ -160,9 +164,10 @@ Examples Requesting a passphrase for WPA2 network "Requirement" : "mandatory" }, "PreviousPassphrase" : - { "Type" : "informational", - "Value" : "secret123" - } + { "Type" : "psk", + "Requirement : "informational", + "Value" : "secret123" + } } Requesting name for hidden network