summaryrefslogtreecommitdiff
path: root/doc/connection-api.txt
blob: 8e2e8bca475d8755d84a37944c64a735e8bb8598 (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
Connection hierarchy
====================

Service		org.moblin.connman
Interface	org.moblin.connman.Connection
Object path	[variable prefix]/{connection0,connection1,...}

Methods		dict GetProperties()

			Returns properties for the connection 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 Type [readonly]

			The connection type (for example wifi etc.)

		string Interface [readonly]

			The connection interface (for example "eth0" etc.)

			This value is for pure informational purposes. It
			is not guaranteed that it is always present.

		uint8 Strength [readonly]

			Indicates the signal strength of the connection.

			This property is optional and not always present.

		boolean Default [readonly]

			Indicates if it is a default connection. It is
			possible to have multiple default connections.

		object Device [readonly]

			The object path of the device this connection has
			been established with.

		object Network [readonly]

			The object path of the network this connection
			belongs to.

			This property is optional and not always present.

		string IPv4.Method [readonly]

			Indicates the way how the IPv4 settings were
			configured. Possible values here are "dhcp"
			and "static".

		string IPv4.Address [readonly]

			Shows the current configured IPv4 address.