Add val2sphp helper method to convert high precision (9dp) coordinate to separate standard and high precision components, as required by some CFG and NAV messages.
Add utc2itow helper method to convert utc datetime to GPS week number and time of week.
Add getinputmode helper method to determinate mode of input UBX message (SET or POLL). Add new pyubx2.UBXReader msgmode of SETPOLL (0x03), which will automatically determine input mode.
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).
pyubx2 Pull Request Template
RELEASE CANDIDATE 1.2.38
pyubx2.UBXReader
msgmode of SETPOLL (0x03), which will automatically determine input mode.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:
tests/test_*.py
unittest suite to maintain >= 99% code coverage.tests/test_*.py
unittest suite.