From 55d06009d4397e43b5c67b66b1624d202b061bc8 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 23 Nov 2010 06:59:39 -0600 Subject: doc: Add initial CDMA D-Bus API proposal --- doc/cdma-connman-api.txt | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 doc/cdma-connman-api.txt (limited to 'doc/cdma-connman-api.txt') 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. -- cgit v1.2.3