aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-30 21:22:25 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-30 21:22:25 +1200
commitb372786bc73aa3f3f89b3a321585bd95c81d0031 (patch)
tree173177fc46e5433c9cb3daec59d8eb75fbdf42ba /test/org/traccar/protocol
parent8a866049c73636f6f25ff59550da8c5445e7c8fc (diff)
downloadtraccar-server-b372786bc73aa3f3f89b3a321585bd95c81d0031.tar.gz
traccar-server-b372786bc73aa3f3f89b3a321585bd95c81d0031.tar.bz2
traccar-server-b372786bc73aa3f3f89b3a321585bd95c81d0031.zip
More Megastek decoder improvements
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/MegastekProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
index d6056869b..fae0ef93d 100644
--- a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class MegastekProtocolDecoderTest extends ProtocolTest {
MegastekProtocolDecoder decoder = new MegastekProtocolDecoder(new MegastekProtocol());
verifyPosition(decoder, text(
+ "$MGV002,869152024446923,,S,290816,200627,V,5056.21059,N,00439.25034,E,00,00,00,99.9,,,-25.1,,206,01,0BBB,4418,28,,,,,,,,,01,093,Timer;"));
+
+ verifyPosition(decoder, text(
"$MGV002,869152024446923,869152024446923,S,240816,151631,A,5053.83335,N,00424.05702,E,00,10,00,0.88,2.645,76.09,22.7,,206,01,07D1,6600,28,,,,,,,,,01,100,Timer;!"));
verifyPosition(decoder, text(