aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-13 17:32:51 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-13 17:32:51 +1300
commit6611056f9fdf7c97e6e9e5429b21aba65f6c3561 (patch)
treec90111cee2119facbacf67ae4ed52d622bbdb680 /test/org
parentb61dee3d8474d5431dc2b085ec0ed92f7ee918c6 (diff)
downloadtraccar-server-6611056f9fdf7c97e6e9e5429b21aba65f6c3561.tar.gz
traccar-server-6611056f9fdf7c97e6e9e5429b21aba65f6c3561.tar.bz2
traccar-server-6611056f9fdf7c97e6e9e5429b21aba65f6c3561.zip
Support MT80 Megastek watch
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/MegastekProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
index d10432b38..fab5df11b 100644
--- a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class MegastekProtocolDecoderTest extends ProtocolTest {
MegastekProtocolDecoder decoder = new MegastekProtocolDecoder(new MegastekProtocol());
verifyPosition(decoder, text(
+ "0132$MGV002,869152024261561,,S,310818,133945,V,3814.35442,N,02144.50662,E,00,00,00,99.9,,,44.2,,202,10,,,13,0,0,0,0,90,,,,11,100,Timer;!"));
+
+ verifyPosition(decoder, text(
+ "0151$MGV002,869152024261561,ID,S,070918,155544,V,3814.35419,N,02144.52113,E,00,00,00,99.9,0.062,,12.3,,202,01,0898,D1BE,8,34,1055,0,0,600,,,,11,010,Timer;!"));
+
+ verifyPosition(decoder, text(
"0174$MGV002,014682001957744,014682001957744,R,260318,042537,A,3853.77301,N,07728.66673,W,00,09,00,1.06,0.147,329.51,123.3,,310,26,B46C,5E69375,5,0000,0000,0,,,,,,10,019,Timer,,;!"));
verifyNull(decoder, text(