summaryrefslogtreecommitdiffstats
path: root/doc/modem-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-08-12 16:33:45 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-08-12 16:33:45 -0700
commitc5bee783fa472b77948fce54825b82b46442a5cf (patch)
tree2b0bd784bd5eaabb72d4a32ab5c1dda861eba211 /doc/modem-api.txt
parent19858da361751396cc5538464d9a9efdaced0739 (diff)
downloadofono-c5bee783fa472b77948fce54825b82b46442a5cf.tar.bz2
Add some initial API documents
Diffstat (limited to 'doc/modem-api.txt')
-rw-r--r--doc/modem-api.txt54
1 files changed, 54 insertions, 0 deletions
diff --git a/doc/modem-api.txt b/doc/modem-api.txt
new file mode 100644
index 00000000..3058880b
--- /dev/null
+++ b/doc/modem-api.txt
@@ -0,0 +1,54 @@
+Modem hierarchy
+===============
+
+Service org.ofono
+Interface org.ofono.Modem
+Object path [variable prefix]/{modem0,modem1,...}
+
+Methods dict GetProperties()
+
+ Returns properties for the modem object. See
+ the properties section for available properties.
+
+ Possible Errors: [service].Error.InvalidArguments
+
+Signals PropertyChanged(string name, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties string Manufacturer [readonly, optional]
+
+ String representing the manufacturer of the modem
+ device.
+
+ This is usually obtained by the +CGMI AT command.
+
+ string Model [readonly, optional]
+
+ String representing the model of the modem device.
+
+ This is usually obtained by the +CGMM AT command.
+
+ string Revision [readonly, optional]
+
+ String representing the revision of the modem device.
+
+ This is usually obtained by using the +CGMR AT command.
+
+ string Serial [readonly, optional]
+
+ String represeting the serial number of the modem
+ device.
+
+ This is usually obtained by using the +CGSN AT command.
+
+ array{string} Interfaces [readonly]
+
+ Set of interfaces currently supported by the mode
+ device. The set depends on the state of the device
+ (registration status, SIM inserted status,
+ network capabilities, device capabilities, etc.)
+
+ TODO: Better to split this into Status and
+ Capabilites properties?