From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCHv3 2/4] doc: add documentaion for Quectel hardware API
Date: Mon, 22 Jul 2019 02:48:26 -0500 [thread overview]
Message-ID: <dcd72f4b-668e-6f35-64e6-38df68498f23@gmail.com> (raw)
In-Reply-To: <20190719123957.6911-2-martin@geanix.com>
[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]
Hi Martin,
On 7/19/19 7:39 AM, Martin Hundebøll wrote:
> ---
>
> Changes since v2:
> * none
>
> Changes since v1:
> * new patch split out from PATCHv1 6/7
> * added documentation of charge status and level
>
> doc/quectel-hardware-api.txt | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 doc/quectel-hardware-api.txt
>
> diff --git a/doc/quectel-hardware-api.txt b/doc/quectel-hardware-api.txt
> new file mode 100644
> index 00000000..6aafbfd8
> --- /dev/null
> +++ b/doc/quectel-hardware-api.txt
> @@ -0,0 +1,33 @@
> +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
> +
>
So just a nitpick, but should these be unsigned?
Regards,
-Denis
next prev parent reply other threads:[~2019-07-22 7:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-19 12:39 [PATCHv3 1/4] quectel: add dbus hardware interface Martin =?unknown-8bit?q?Hundeb=C3=B8ll?=
2019-07-19 12:39 ` [PATCHv3 2/4] doc: add documentaion for Quectel hardware API Martin =?unknown-8bit?q?Hundeb=C3=B8ll?=
2019-07-22 7:48 ` Denis Kenzior [this message]
2019-07-22 8:46 ` Pavel Machek
2019-07-19 12:39 ` [PATCHv3 3/4] quectel: implement dbus signals for modem power notifications Martin =?unknown-8bit?q?Hundeb=C3=B8ll?=
2019-07-19 12:39 ` [PATCHv3 4/4] doc: document power-event signals for quectel Hardware API Martin =?unknown-8bit?q?Hundeb=C3=B8ll?=
2019-07-22 7:50 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dcd72f4b-668e-6f35-64e6-38df68498f23@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox