summaryrefslogtreecommitdiffstats
path: root/doc/cdma-connman-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-connman-api.txt
parente9d80e40acf0e35facc67106932994358c49ad5a (diff)
downloadofono-55d06009d4397e43b5c67b66b1624d202b061bc8.tar.bz2
doc: Add initial CDMA D-Bus API proposal
Diffstat (limited to 'doc/cdma-connman-api.txt')
-rw-r--r--doc/cdma-connman-api.txt68
1 files changed, 68 insertions, 0 deletions
diff --git a/doc/cdma-connman-api.txt b/doc/cdma-connman-api.txt
new file mode 100644
index 00000000..e486c094
--- /dev/null
+++ b/doc/cdma-connman-api.txt
@@ -0,0 +1,68 @@
+CDMA Connection Manager hierarchy [experimental]
+=================================
+
+Service org.ofono
+Interface org.ofono.cdma.ConnectionManager
+Object path [variable]
+
+Methods dict GetProperties()
+
+ Returns all global system properties. See the
+ properties section for available properties.
+
+ Possible Errors: [service].Error.InvalidArguments
+
+ void SetProperty(string property, variant value)
+
+ Sets the property to a desired value
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.InvalidFormat
+ [service].Error.Failed
+
+Signals PropertyChanged(string property, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties boolean Powered [readwrite]
+
+ Controls whether the CDMA data connection is
+ enabled.
+
+ boolean Dormant [readonly]
+
+ Contains whether the connection is dormant. Will
+ always be false if the connection is not powered.
+
+ dict Settings [readonly, optional]
+
+ Holds all the IP network settings
+
+ string Interface [readonly, optional]
+
+ Holds the interface of the network interface
+ used by this context (e.g. "ppp0" "usb0")
+
+ string Method [readonly, optional]
+
+ Holds the IP network config method
+ "static"- Set IP network statically
+ "dhcp" - Set IP network through DHCP
+
+ string Address [readonly, optional]
+
+ Holds the IP address for this context.
+
+ string Netmask [readonly, optional]
+
+ Holds the Netmask for this context.
+
+ array{string} DomainNameServers [readonly, optional]
+
+ Holds the list of domain name servers for this
+ context.
+
+ string Gateway [readonly, optional]
+
+ Holds the gateway IP for this connection.