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

Release candidate 1.2.38 #140

Closed semuadmin closed 7 months ago

semuadmin commented 7 months ago

pyubx2 Pull Request Template

RELEASE CANDIDATE 1.2.38

  1. 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.
  2. Add utc2itow helper method to convert utc datetime to GPS week number and time of week.
  3. 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).

Checklist: