From 8b29c4b31db0a9552ed2106ca8d2030fca6edea9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 22 May 2021 16:47:46 -0700 Subject: Support Mictrack MT700 format --- src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/test/java/org') diff --git a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java index 6b65b2c4c..bc1c8e112 100644 --- a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java @@ -11,6 +11,14 @@ public class Tlt2hProtocolDecoderTest extends ProtocolTest { var decoder = new Tlt2hProtocolDecoder(null); + verifyPositions(decoder, text( + "#867198059727390#MT700#0000#AUTO#1\r\n", + "#38$GPRMC,105721.00,A,2238.3071,N,11401.7575,E,,96.70,250321,,,A*74\r\n")); + + verifyPositions(decoder, false, text( + "#867198059727390#MT700#0000#AUTO#1\r\n", + "#40$WIFI,123532.00,A,-62,D8325A0ABADD,-64,EC172F8965BC,-64,7405A5D457D4,260321*07\r\n")); + verifyPositions(decoder, text( "#860425040088567#MT600+#0000#0#1#129#40#0#AUTOLOW#1\r\n", "#000321901$GPRMC,172030.00,A,4845.2906,N,01910.2742,E,0.01,,041219,,,A*43\r\n")); -- cgit v1.2.3