summaryrefslogtreecommitdiff
path: root/doc/connection-api.txt
blob: c39c6d294bcf1d007a76ca62315c98e9cb967dda (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
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.)

		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.

		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.