summaryrefslogtreecommitdiffstats
path: root/doc/cdma-network-api.txt
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-11-23 06:59:39 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-11-23 06:59:39 -0600
commit55d06009d4397e43b5c67b66b1624d202b061bc8 (patch)
treeb123ea9d68be14dda80cee32978b7dae316fecd9 /doc/cdma-network-api.txt
parente9d80e40acf0e35facc67106932994358c49ad5a (diff)
downloadofono-55d06009d4397e43b5c67b66b1624d202b061bc8.tar.bz2
doc: Add initial CDMA D-Bus API proposal
Diffstat (limited to 'doc/cdma-network-api.txt')
-rw-r--r--doc/cdma-network-api.txt70
1 files changed, 70 insertions, 0 deletions
diff --git a/doc/cdma-network-api.txt b/doc/cdma-network-api.txt
new file mode 100644
index 00000000..fd88d4e1
--- /dev/null
+++ b/doc/cdma-network-api.txt
@@ -0,0 +1,70 @@
+CDMA Network registration hierarchy [experimental]
+===================================
+
+Service org.ofono
+Interface org.ofono.cdma.NetworkRegistration
+Object path [variable prefix]/{modem0,modem1,...}
+
+Methods dict GetProperties()
+
+ Returns all network registration properties. See the
+ properties section for available properties.
+
+ Possible Errors: [service].Error.InvalidArguments
+
+ void SetProperty(string name, variant value)
+
+ Changes the value of the specified property. Only
+ properties that are listed as readwrite are
+ changeable. On success a PropertyChanged signal
+ will be emitted.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.DoesNotExist
+
+Signals PropertyChanged(string property, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties string Status [readonly]
+
+ The current registration status of a modem.
+
+ The possible values are:
+ "unregistered" Not registered
+ "registered" Registered to home network
+ "roaming" Roaming
+
+ byte Strength [readonly]
+
+ Contains the current signal strength as a percentage
+ between 0-100 percent.
+
+ byte DataStrength [readonly]
+
+ Contains the current signal strength of the High Data
+ Rate network. This is a percentage value between
+ 0-100 percent.
+
+ uint16 SystemIdentifier [readonly, optional]
+
+ Contains the system identifier of the currently
+ selected network.
+
+ uint16 NetworkIdentifier [readonly, optional]
+
+ Contains the network identifier of the currently
+ selected network.
+
+ uint16 MobileCountryCode [readonly, optional]
+
+ Contains the Mobile Country Code (MCC).
+
+ uint16 MobileNetworkCode [readonly, optional]
+
+ Contains the Mobile Network Code (MNC).
+
+ string Name [readonly, optional]
+
+ Contains the name of the current network.