aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-24 22:21:43 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-24 22:21:43 -0700
commit49a5ac1259f299615e56d5d8e733234a4d7364bd (patch)
treeddfa846cda87ef6f678def52f73cfced9dbfc8f8 /src/test/java/org/traccar/protocol
parent0410bce8df4f66aec23232caf03100a36527d15b (diff)
downloadtrackermap-server-49a5ac1259f299615e56d5d8e733234a4d7364bd.tar.gz
trackermap-server-49a5ac1259f299615e56d5d8e733234a4d7364bd.tar.bz2
trackermap-server-49a5ac1259f299615e56d5d8e733234a4d7364bd.zip
GPS rollover fix for MXT
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/MxtProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/MxtProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MxtProtocolDecoderTest.java
index 71ad22a96..301b6102b 100644
--- a/src/test/java/org/traccar/protocol/MxtProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MxtProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class MxtProtocolDecoderTest extends ProtocolTest {
var decoder = new MxtProtocolDecoder(null);
verifyPosition(decoder, binary(
+ "01a631a7627b00087dc41c40850006aab70affecdf23fd32200080000600000000000000000000001b2ff03b1bb9c4c60214f40100050000006c2d0000f427600051051101de0704"));
+
+ verifyPosition(decoder, binary(
"01a631144c7e0008643ad2f456fb2d49747cfe4cbe0ffd002008800000001021000fd43d3f1403000000ff300000f42760001031102445a81fda04"));
verifyPosition(decoder, binary(