semuconsulting / pyubx2

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

Rc 1.2.22 #102

Closed semuadmin closed 1 year ago

semuadmin commented 1 year ago

pyubx2 Pull Request Template

Description

RELEASE CANDIDATE 1.2.22

CHANGES:

  1. __str__ method enhanced to escape all byte values for clarity e.g. will now return b'\x61\x62\x63' rather than b'abc'.
  2. UBXReader.iterate() method deprecated - use the standard iterator instead e.g.
ubr = UBXReader(**kwargs):
for (raw, parsed) in ubr:
   print(parsed)

..., passing any quitonerror or errorhandler kwargs to the UBXReader constructor.

  1. Minimum pyrtcm version updated to >=1.0.5.

Testing

Please test all changes, however trivial, against the supplied unittest suite tests/test_*.py e.g. by executing the tests/testsuite.py module or using your IDE's native Python unittest integration facilities. 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: