aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-25 16:50:08 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-25 16:50:08 +1300
commitf940d94548f45de9ece8195028abf4bafb979135 (patch)
treeb4bac2b9af49ea2b0990299bbd08a1a7f8e2576f /test
parentf094a26a9f66a85ee3111a4c8ca8a46276cdf968 (diff)
downloadtrackermap-server-f940d94548f45de9ece8195028abf4bafb979135.tar.gz
trackermap-server-f940d94548f45de9ece8195028abf4bafb979135.tar.bz2
trackermap-server-f940d94548f45de9ece8195028abf4bafb979135.zip
Implement alarms for Meitrack
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/MeitrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
index 9534df2e0..d387332d6 100644
--- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class MeitrackProtocolDecoderTest extends ProtocolTest {
MeitrackProtocolDecoder decoder = new MeitrackProtocolDecoder(new MeitrackProtocol());
verifyPosition(decoder, buffer(
+ "$$T143,869013024733944,AAA,1,18.459575,-69.947161,170220142912,A,5,15,10,300,1.6,115,3989,187884,370|2|5337|2B2C,0100,0000|0000|0000|0964|0B04,,*C2"));
+
+ verifyPosition(decoder, buffer(
"$$K157,866771027160687,AAA,3,37.040231,10.042391,160412151656,A,10,11,0,48,0.8,21,1035518,774980,605|2|0010|307B,0400,0000|0000|0000|0A47|03E3,,,1,0000,001206*2C"));
verifyNothing(decoder, buffer(