[PATCH v2 0/5] Add support for more LOC message types
Thomas Weißschuh
thomas at t-8ch.de
Fri Feb 9 21:07:14 UTC 2018
This patchset adds support for more LOC messages types, so libqmi can be used
to retrieve location information from it.
It also adds some utility features that are needed for the functional part.
(Patches one to three).
The message definitions deviate in small parts from the one in GOBI-API:
In GNSS Sat Info messages the altitude source is guint8 instead of guint32, as
observed in actual messages from the modem.
The Sat Info itself is documented as being a struct, while in reality is an
array of structs.
Changes in v2:
* Added big endian support for gfloat
* Added documentation
Thomas Weißschuh (5):
libqmi-glib: add GDOUBLE_FROM_LE and GFLOAT_FROM_LE
libqmi-glib: handle gfloats on big-endian systems
qmi-codegen: add support for gdouble
qmi-codegen: allow empty input fields
loc: add definitions for more messages
build-aux/qmi-codegen/Message.py | 2 +-
build-aux/qmi-codegen/VariableInteger.py | 8 +-
build-aux/qmi-codegen/utils.py | 9 +-
data/qmi-common.json | 20 +-
data/qmi-service-loc.json | 335 +++++++++++++++++-
.../libqmi-glib/libqmi-glib-common.sections | 86 +++++
docs/reference/libqmi-glib/libqmi-glib-docs.xml | 8 +
src/libqmi-glib/Makefile.am | 4 +-
src/libqmi-glib/generated/Makefile.am | 4 +-
src/libqmi-glib/libqmi-glib.h | 1 +
src/libqmi-glib/qmi-enums-loc.h | 376 +++++++++++++++++++++
src/libqmi-glib/qmi-flags64-loc.h | 103 ++++++
src/libqmi-glib/qmi-message.c | 33 +-
src/libqmi-glib/qmi-message.h | 28 ++
src/libqmi-glib/qmi-utils.h | 131 +++++++
15 files changed, 1127 insertions(+), 21 deletions(-)
create mode 100644 src/libqmi-glib/qmi-flags64-loc.h
--
2.16.1
More information about the libqmi-devel
mailing list