semuconsulting / pyspartn

Python library for parsing SPARTN protocol messages.
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Rc 0.1.8 #9

Closed semuadmin closed 1 year ago

semuadmin commented 1 year ago

pyspartn Pull Request Template

RELEASE CANDIDATE 0.1.8-alpha

FIXES:

  1. convert_timetag routine updated - should now correctly convert 16-bit timetag to 32-bit for a given 'basedate'.
  2. basedate keyword argument added to read and parse routines. Defaults to datetime.now(). This argument must be provided in order to decrypt messages where timeTagType = 0 (ambiguous 16-bit gnssTimeTag format), which typically includes GAD and some OCB message types but not HPAC message types.
  3. As a result of the changes above, pyspartn can now successfully decode HPAC and GAD messages, but issues remain with decoding OCB payloads.

Fixes GAD message decoding

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.

Checklist: