From: Pavel Machek <pavel@ucw.cz>
To: ofono@ofono.org
Subject: Re: [PATCHv3 2/4] doc: add documentaion for Quectel hardware API
Date: Mon, 22 Jul 2019 10:46:50 +0200 [thread overview]
Message-ID: <20190722084650.GA28727@amd> (raw)
In-Reply-To: <dcd72f4b-668e-6f35-64e6-38df68498f23@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]
Hi!
> >+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
> >+
Maybe more resolution than percent would be useful? From 0 to 1000?
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2019-07-22 8:46 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
2019-07-22 8:46 ` Pavel Machek [this message]
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=20190722084650.GA28727@amd \
--to=pavel@ucw.cz \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.