diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-05-22 16:47:46 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-05-22 16:47:46 -0700 |
commit | 8b29c4b31db0a9552ed2106ca8d2030fca6edea9 (patch) | |
tree | d4db5516ff8261ebd54070d85a4cf72cc7c60269 /src/test/java/org/traccar | |
parent | 814dc83e21cdfbc563469c8adcdfbd278f26d551 (diff) | |
download | trackermap-server-8b29c4b31db0a9552ed2106ca8d2030fca6edea9.tar.gz trackermap-server-8b29c4b31db0a9552ed2106ca8d2030fca6edea9.tar.bz2 trackermap-server-8b29c4b31db0a9552ed2106ca8d2030fca6edea9.zip |
Support Mictrack MT700 format
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r-- | src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -12,6 +12,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")); |