Where do the AT codes live in the source tree?

Chris McKenzie chris at waive.car
Mon Jul 8 21:50:09 UTC 2019


Hi. We are investigating whether we can improve the GNSS of the device.

We have found that it works inconsistently and sometimes doesn't sync at
all. We believe there may be ways of us interfacing it better but either we
don't want to conflict with existing code or we want to find out within the
code where we may be using things poorly and perhaps could just be doing
things wrong.



On Fri, Jul 5, 2019, 09:24 Dan Williams <dcbw at redhat.com> wrote:

> On Thu, 2019-07-04 at 15:30 -0700, Christopher McKenzie wrote:
> > Hi All,
> >
> > One of my EEs was doing some direct AT commands to try to increase
> > our
> > understanding of a likely issue with some Quectel modems having
> > pretty
> > unreliable GPS.
> >
> > I come at this from the assumption that everything we're going to
> > discover is already in the codebase somewhere and we just need to
> > find
> > out how to invoke it correctly, but I was unable to find any place
> > where
> > the GPS or NMEA commands were being sent either in libqmi, libmbim,
> > or
> > modemmanager ... I assumed they'd be in libqmi. Is there some library
> > I
> > forgot to check or did I just grep the wrong strings?
> >
> > If someone knows the general place to start looking, that would be
> > wonderful (project/path). Thanks and have a great day
>
> libqmi deals only with the QMI protocol, not with AT. So if you want to
> see how the AT side happens, you want to look in the ModemManager
> sources:
>
> https://gitlab.freedesktop.org/mobile-broadband/ModemManager
>
> but the ModemManager Quectel plugin doesn't support AT-only location,
> just MBIM and QMI-based location which doesn't use AT commands. So
> you'd probably have to look elsewhere if you really do want to use AT
> commands with the Quectel modem.
>
> What kinds of things were you trying to do?
>
> Dan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20190708/aa0e049e/attachment.html>


More information about the libqmi-devel mailing list