convert_timetag routine updated - should now correctly convert 16-bit timetag to 32-bit for a given 'basedate'.
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.
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.
pyspartn Pull Request Template
RELEASE CANDIDATE 0.1.8-alpha
FIXES:
convert_timetag
routine updated - should now correctly convert 16-bit timetag to 32-bit for a given 'basedate'.basedate
keyword argument added to read and parse routines. Defaults todatetime.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.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:
CONTRIBUTING.MD
).tests/test_*.py
pytest suite to maintain >= 99% code coverage.tests/test_*.py
unittest suite.