diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-25 16:50:08 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-25 16:50:08 +1300 |
commit | f940d94548f45de9ece8195028abf4bafb979135 (patch) | |
tree | b4bac2b9af49ea2b0990299bbd08a1a7f8e2576f /test | |
parent | f094a26a9f66a85ee3111a4c8ca8a46276cdf968 (diff) | |
download | traccar-server-f940d94548f45de9ece8195028abf4bafb979135.tar.gz traccar-server-f940d94548f45de9ece8195028abf4bafb979135.tar.bz2 traccar-server-f940d94548f45de9ece8195028abf4bafb979135.zip |
Implement alarms for Meitrack
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/MeitrackProtocolDecoderTest.java | 3 |
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( |