-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @harshil21 Second question first - the First question, the list of presets in the example I provide is by no means exhaustive - the intention is for the user to create their own. The Quectel L29 and L79 support a series of proprietary $PAIR NMEA messages, where 'P' is the
FYI pynmeagps is capable of parsing any valid incoming NMEA sentence even if its payload is not defined, but it will be parsed to a 'nominal' format e.g. for $PAIR050, it will currently parse this as:
FYI PyGPSClient provides an interactive Python function python3
> python3
>>> from pygpsclient import nmea2preset
>>> preset = nmea2preset(mynmea.log, "Set common fix rate")
>>> print(preset)
>>> "Set common fix rate; P; AIR050; 1000; 1" |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
@harshil21
FYI A new version of pynmeagps (1.0.52) is now available which supports all the PAIR (and some additional PQTM) NMEA sentences as used by the Quectel L29H and L79H range. You can update to this latest version via the 'Check for updates' facility on PyGPSClient's About dialog.
Once updated, you should be able to add PAIR preset commands along the lines of the one I illustrated above to your pygpsclient.json file and invoke them via the NMEA Configuration panel, e.g.
Remember - PAIR commands ('Set') will be msgmode = 1, PAIR queries (which the Quectel documentation refers to as 'Get') will be msgmode = 2.