mbm plugin gps improvements
Aleksander Morgado
aleksander at aleksander.es
Fri Jan 29 08:31:46 PST 2016
On Fri, Jan 29, 2016 at 1:00 AM, Tomas Jura <tomas.jura1 at gmail.com> wrote:
> The quick open/close action after the gps unmanaged end (patch #4 "flush
> unmanaged GPS port after GPS is stopped") serves for draining the remaining
> GPS sentences from the gps port. Without the drain some gps sentences can
> remain in the input buffer and those debris are offered as an input during
> the next gps read (for example after few hours). Reading such trash confuses
> the reader of GPS sentences. The modes NMEA and RAW do the drain of the port
> (during close). My patch just introduce the "drain and close" scenario to
> the unmanaged mode.
What about the AT*E2GPSCTL=0 command on disabling GPS? Does it not
need to go to the GPS data port, as we did when enabling GPS? If that
is the case, the open/close would be implicit as we need to send an AT
command.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list