summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Hundebøll <martin@geanix.com>2019-07-19 14:39:55 +0200
committerDenis Kenzior <denkenz@gmail.com>2019-07-22 02:37:10 -0500
commit311a04a178ad913074a7631cf420166f96aee128 (patch)
treed51110e9dfbb632afe8e3860463be9ed7a0ec83b /doc
parent9b681d7a27c7f0d49c6707f8b8db788b69a85938 (diff)
downloadofono-311a04a178ad913074a7631cf420166f96aee128.tar.gz
doc: add documentaion for Quectel hardware API
Diffstat (limited to 'doc')
-rw-r--r--doc/quectel-hardware-api.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/quectel-hardware-api.txt b/doc/quectel-hardware-api.txt
new file mode 100644
index 00000000..c6cce4e8
--- /dev/null
+++ b/doc/quectel-hardware-api.txt
@@ -0,0 +1,32 @@
+Hardware hierarchy
+==================
+
+Service org.ofono
+Interface org.ofono.quectel.Hardware
+Object path /{device0,device1,...}
+
+Methods array{string,variant} GetProperties
+
+ Returns hardware properties for the modem object. See
+ the properties section for available properties.
+
+Properties int32 Voltage [readonly]
+
+ Integer with the modem supply voltage in mV.
+
+ int32 ChargeStatus [readonly,optional]
+
+ Integer with one of either:
+
+ 0: Modem is not charging
+ 1: Modem is charging
+ 2: Charging is finished
+
+ This property is available on UC15
+
+ int32 ChargeLevel [readonly,optional]
+
+ Integer representing the battery charge level in
+ percent (from 0 to 100).
+
+ This property is available on UC15