cr / hx870

Python tools for the Standard Horizon HX870
GNU General Public License v3.0
21 stars 5 forks source link

Unexpected EraseLog acknowledgement $PMTK011,MTKGPS #25

Closed cr closed 4 years ago

cr commented 4 years ago

In the wild we have seen HX870 handsets sending unexpected messages after EraseLog, resulting in the following error:

hxtool.protocol.ProtocolError: Unexpected EraseLog acknowledgement from device: $PMTK011,MTKGPS*08

See #24 for an error report.

According to https://cdn-shop.adafruit.com/datasheets/PMTK_A11.pdf, certain GPS chipsets send the following sentences after boot-up:

This may be related to some HX firmware versions issuing a GPS module restart after EraseLog while others do not.

cr commented 4 years ago

Looks like HX870 Firmware 2.03 does not reset the GPS chip after EraseLog, and v2.04 does, resulting in those spurious startup messages.