mirror of
https://github.com/traccar/traccar.git
synced 2026-04-22 08:07:23 -04:00
* Fix Xexun2 negative longitude (DDMM.MMMM truncate toward zero) * Add test for Xexun2 negative longitude (DDMM.MMMM) conversion - Add testConvertCoordinateNegativeLongitude() asserting correct conversion for negative longitude (-121.64531°), reference latitude (37.09772°), and positive longitude (121.64531°). - Make convertCoordinate() package-private so the test can call it. Made-with: Cursor * Fix Xexun2 HEX test: correct lon/lat float bytes and checksum - Use IEEE 754 big-endian bytes for -12138.7186 (lon) and 3705.8632 (lat) - Assert only lat/lon/valid (no fix time) for decoder timestamp independence - Recompute payload checksum for PR #5818 Made-with: Cursor * Use position() helper for Xexun2 negative-longitude test; match decoded fix time Made-with: Cursor