build: Whitespace & keep vim happy
[platform/upstream/ofono.git] / doc / cdma-connman-api.txt
1 CDMA Connection Manager hierarchy [experimental]
2 =================================
3
4 Service         org.ofono
5 Interface       org.ofono.cdma.ConnectionManager
6 Object path     [variable]
7
8 Methods         dict GetProperties()
9
10                         Returns all global system properties. See the
11                         properties section for available properties.
12
13                         Possible Errors: [service].Error.InvalidArguments
14
15                 void SetProperty(string property, variant value)
16
17                         Sets the property to a desired value
18
19                         Possible Errors: [service].Error.InvalidArguments
20                                          [service].Error.InvalidFormat
21                                          [service].Error.Failed
22
23 Signals         PropertyChanged(string property, variant value)
24
25                         This signal indicates a changed value of the given
26                         property.
27
28 Properties      boolean Powered [readwrite]
29
30                         Controls whether the CDMA data connection is
31                         enabled.
32
33                 boolean Dormant [readonly]
34
35                         Contains whether the connection is dormant.  Will
36                         always be false if the connection is not powered.
37
38                 string Username [readwrite]
39
40                         Holds the username to be used for authentication
41                         purposes.
42
43                 string Password [readwrite]
44
45                         Holds the password to be used for authentication
46                         purposes.
47
48                 dict Settings [readonly, optional]
49
50                         Holds all the IP network settings
51
52                         string Interface [readonly, optional]
53
54                                 Holds the interface of the network interface
55                                 used by this context (e.g. "ppp0" "usb0")
56
57                         string Method [readonly, optional]
58
59                                 Holds the IP network config method
60                                         "static"- Set IP network statically
61                                         "dhcp"  - Set IP network through DHCP
62
63                         string Address [readonly, optional]
64
65                                 Holds the IP address for this context.
66
67                         string Netmask [readonly, optional]
68
69                                 Holds the Netmask for this context.
70
71                         array{string} DomainNameServers [readonly, optional]
72
73                                 Holds the list of domain name servers for this
74                                 context.
75
76                         string Gateway [readonly, optional]
77
78                                 Holds the gateway IP for this connection.