1 Network registration hierarchy
2 ==============================
5 Interface org.ofono.NetworkRegistration
6 Object path [variable prefix]/{modem0,modem1,...}
8 Methods dict GetProperties()
10 Returns all network registration properties. See the
11 properties section for available properties.
13 Possible Errors: [service].Error.InvalidArguments
15 void SetProperty(string name, variant value)
17 Changes the value of the specified property. Only
18 properties that are listed as readwrite are
19 changeable. On success a PropertyChanged signal
22 Possible Errors: [service].Error.InvalidArguments
23 [service].Error.DoesNotExist
27 Attempts to register to the default network. The
28 default network is normally selected by the settings
31 Possible Errors: [service].Error.InvalidArguments
33 array{object,dict} GetOperators()
35 Retrieve array of operator object and properties.
37 This method can be used to retrieve the current
38 operator list. This is either an empty list (when
39 not registered to any network) or a list with one
40 or more operators (when registered).
42 This list will also return cached values of previously
43 seen networks. Manual updates to list can only be
44 done via the Scan method call.
46 array{object,dict} Scan()
48 Runs a network operator scan to discover the currently
49 available operators. This operation can take several
50 seconds, and up to several minutes on some modems.
51 This can be used to help the user determine what is
52 the best operator to use if forced to roam on a
55 NOTE: The operator scan can interfere with any active
56 GPRS contexts. Expect the context to be unavailable
57 for the duration of the operator scan.
59 Signals PropertyChanged(string property, variant value)
61 This signal indicates a changed value of the given
64 Properties string Mode [readonly]
66 The current registration mode. The default of this
67 is "auto", but can be changed during operation. This
68 property will change to "manual" if the Register()
69 method of an operator is called.
71 The possible values are:
72 "auto" Network registration is performed
74 "auto-only" Network registration is performed
75 automatically, and manual
76 selection is disabled.
77 "manual" Network operator is selected
78 manually. If the operator is
79 currently not selected,
80 registration is not attempted.
82 string Status [readonly]
84 The current registration status of a modem.
86 The possible values are:
87 "unregistered" Not registered to any network
88 "registered" Registered to home network
89 "searching" Not registered, but searching
90 "denied" Registration has been denied
91 "unknown" Status is unknown
92 "roaming" Registered, but roaming
94 uint16 LocationAreaCode [readonly, optional]
96 Contains the current location area code.
98 TODO: Agent based location signalling would be better.
100 uint32 CellId [readonly, optional]
102 Contains the current network cell id.
104 TODO: Agent based location signalling would be better.
106 string MobileCountryCode [readonly, optional]
108 Contains the Mobile Country Code (MCC). This is
109 repeated here for convenience. It can also be obtained
110 from the NetworkOperator interface.
112 string MobileNetworkCode [readonly, optional]
114 Contains the Mobile Network Code (MNC). This is
115 repeated here for convenience. It can also be obtained
116 from the NetworkOperator interface.
118 string Technology [readonly, optional]
120 Contains the technology of the current network.
122 The possible values are: "gsm", "edge", "umts", "hspa",
125 TODO: Values for CDMA and EVDO based networks.
127 string Name [readonly]
129 Contains the current operator name, suitable for
130 display on the idle screen or an empty string if
131 not registered to a network.
133 byte Strength [readonly, optional]
135 Contains the current signal strength as a percentage
136 between 0-100 percent.
138 string BaseStation [readonly, optional]
140 If the Cell Broadcast service is available and
141 properly configured, this attribute will contain the
142 name of the current service cell. This is typically a
143 descriptive name of the local area, e.g. name of the
144 suburb. If no name is provided or becomes
145 unavailable, this property will not be returned by
146 GetProperties or will be set to an empty string.
149 Network operator hierarchy
150 ==========================
153 Interface org.ofono.NetworkOperator
154 Object path [variable prefix]/{modem0,modem1,...}/{operator0,operator1,...}
156 Methods dict GetProperties()
158 Returns all network operator properties. See the
159 properties section for available properties.
161 Possible Errors: [service].Error.InvalidArguments
165 Attempts to register to this network operator.
167 The method will return immediately, the result should
168 be observed by tracking the NetworkRegistration Status
171 Possible Errors: [service].Error.InvalidArguments
173 Signals PropertyChanged(string property, variant value)
175 This signal indicates a changed value of the given
178 Properties string Name [readonly]
180 Contains the name of the operator, suitable for using
181 as a string handle in a UI widget used for manual
182 network selection. For a proper display name of the
183 current operator, use the Name property of the
184 NetworkRegistration interface instead.
186 string Status [readonly]
188 Contains the status of the operator.
190 The possible values are: "unknown", "available",
191 "current" and "forbidden"
193 string MobileCountryCode [readonly, optional]
195 Contains the Mobile Country Code (MCC).
197 string MobileNetworkCode [readonly, optional]
199 Contains the Mobile Network Code (MNC)
201 array{string} Technologies [readonly, optional]
203 Contains a list of technologies currently available
204 from this network provider.
206 The possible values are: "gsm", "edge", "umts", "hspa",
209 string AdditionalInformation [readonly, optional]
211 Contains a short description of the operator. This is
212 typically stored on the SIM and might be available
213 only for select operators.