aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-11 21:15:03 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-11 21:15:03 -0800
commit148b251ff1c129b4b8c8038a47e1dc55a05e6f5d (patch)
tree5ea6a2bdca7554c93e14f520f00820a9a17a809a /src/test
parentee709450564299831dc90e648f6f11bb9e19b6d0 (diff)
downloadtraccar-server-148b251ff1c129b4b8c8038a47e1dc55a05e6f5d.tar.gz
traccar-server-148b251ff1c129b4b8c8038a47e1dc55a05e6f5d.tar.bz2
traccar-server-148b251ff1c129b4b8c8038a47e1dc55a05e6f5d.zip
New protocol variation
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java
index 3f0e5b2d3..58861c139 100644
--- a/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class MeitrackProtocolDecoderTest extends ProtocolTest {
var decoder = new MeitrackProtocolDecoder(null);
+ verifyPosition(decoder, buffer(
+ "$$D149,867047043162018,AAA,35,-1.264865,36.800705,211001105240,A,9,20,41.0,323,1,1697,1,0,000|00||,0000,4.33|12.96|1.92|2.72|2.69,0.000000|0|0.000000,*E1"));
+
verifyPositions(decoder, binary(
"2424413132332c3836313538353034333230303836322c4343452c010000000100590015000305010609071b0b081c000939010a07000b1700199e011a9505921a0099c4089c5500c93e00405a000602a8b114000343f12e0604d18806270c654a2e000da20537009bb8963904010e0c0d020300aa7a0af69e0100002a35340d0a"));