summaryrefslogtreecommitdiff
path: root/doc/network-lowlevel-api.txt
blob: 6572f0f104d19019b7beb02621f58bde6baba288 (plain)
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
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

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]

			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".

		string WiFi.Security [readonly]

			If the network type is WiFi, then this property is
			present and contains the security method or key
			management setting.

			Possible values are "none", "wep", "wpa" and "rsn".

		string WiFi.Passphrase [readonly]

			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.