1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
Network hierarchy
=================
Service org.moblin.connman
Interface org.moblin.connman.Network
Object path [variable prefix]/{network0,network1,...}
Methods dict GetProperties()
Returns properties for the network object. See
the properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void SetProperty(string name, variant value)
Changes the value of the specified property. Only
properties that are listed as read-write are
changeable. On success a PropertyChanged signal
will be emitted.
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidProperty
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given
property.
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 Connected [readonly]
Indicates that this network is currently connected.
uint8 Strength [readonly]
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
present and contains the security method or key
management setting.
For scanned networks this value is read only, but in
case the network was manually created it is also
changeable.
Possible values are "none", "wep", "wpa" and "rsn".
string WiFi.Passphrase [readwrite]
If the network type is WiFi and a passhrase is
requires, then this property is present and contains
the passphrase in clear text.
For systems using PolicyKit, the access to this value
will be protected by the security policy.
|