semuconsulting / pyubx2

Python library for parsing and generating UBX GPS/GNSS protocol messages.
BSD 3-Clause "New" or "Revised" License
175 stars 68 forks source link

Rc 1.2.24 #110

Closed semuadmin closed 1 year ago

semuadmin commented 1 year ago

pyubx2 Pull Request Template

Description

RELEASE CANDIDATE 1.2.24

ENHANCEMENTS:

  1. 'quitonerror' kwarg added to UBXReader.parse(). This is useful e.g. when parsing *.ubx recordings from u-center containing a mixture of GET, SET and POLL message modes (i.e. diagnostic and configuration data in addition to navigation messages). Setting quitonerror to ERR_IGNORE (0) allows you to scan the file for a particular msgmode (e.g. GET or POLL) while ignoring other modes.
  2. Example ubxfile_ucenter.py added to illustrate use of quitonerror and msgmode kwargs when iterating *.ubx files.

CHANGES:

  1. Bandit code security vulnerability task added to VSCode and GHA workflows

Fixes # msgmode warnings when parsing some u-center *.ubx files

Testing

Please test all changes, however trivial, against the supplied pytest suite tests/test_*.py. Please describe any test cases you have amended or added to this suite to maintain >= 99% code coverage.

If you're adding new UBX message definitions for Generation 9+ devices, please check for any corresponding configuration database updates (ubxtypes_configdb.py).

Checklist: