X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=doc%2Fnetwork-api.txt;h=fc4f3480c7aa2fdf9b30f69c8afb158c32ed5448;hb=2da467e698563d3be334a2bbf7038cb74e56c753;hp=b38e1223e34ae883c30a9e9c05970529b9d0852d;hpb=c634b10c2613e71f2824171b9a42c1728f801c71;p=connman diff --git a/doc/network-api.txt b/doc/network-api.txt index b38e122..fc4f348 100644 --- a/doc/network-api.txt +++ b/doc/network-api.txt @@ -27,12 +27,20 @@ Signals PropertyChanged(string name, variant value) This signal indicates a changed value of the given property. -Properties string Name [readonly] +Properties string Address [readonly] + + The address of the network. + + string Name [readonly] The pretty/long version of the network name. For example in case of WiFi this should be the UTF-8 valid version of the SSID. + This property might not be available for every + network. For example hidden WiFi networks will + not include it. + boolean Available [readonly] Indicates that this network is in range and @@ -53,13 +61,29 @@ Properties string Name [readonly] uint8 Strength [readonly] - Indicates the signal strength of the network. + Indicates the signal strength of the network. This + is a normalized value between 0 and 100. + + object Device [readonly] + + The object path of the device this networks + belongs to. array{byte} WiFi.SSID [readonly] If the network type is WiFi, then this property is present and contains the binary SSID value. + string WiFi.Mode [readonly, readwrite] + + If the network type is WiFi, then this property is + present and contains the mode of the network. The + possible values are "managed" or "adhoc". + + For scanned networks this value is read only, but in + case the network was manually created it is also + changeable. + string WiFi.Security [readonly, readwrite] If the network type is WiFi, then this property is @@ -70,7 +94,7 @@ Properties string Name [readonly] case the network was manually created it is also changeable. - Possible values are NONE, WPA and WPA2. + Possible values are "none", "wep", "wpa" and "wpa2". string WiFi.Passphrase [readwrite] @@ -78,5 +102,5 @@ Properties string Name [readonly] requires, then this property is present and contains the passphrase in clear text. - For system using PolicyKit, the access to this value + For systems using PolicyKit, the access to this value will be protected by the security policy.