aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-21 18:24:27 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-21 18:24:27 +1300
commit9ace2318b9ea5a2d949800eedff8398808d3a6ce (patch)
tree96ef2897a2f4293110ed1f885b71eebd1560a58d /test/org/traccar/protocol
parent6b5c8006f27153886618e091466073dbb9983c0f (diff)
downloadtrackermap-server-9ace2318b9ea5a2d949800eedff8398808d3a6ce.tar.gz
trackermap-server-9ace2318b9ea5a2d949800eedff8398808d3a6ce.tar.bz2
trackermap-server-9ace2318b9ea5a2d949800eedff8398808d3a6ce.zip
Support GVT900E device protocol
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 106baff98..583de513c 100644
--- a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class MegastekProtocolDecoderTest extends ProtocolTest {
MegastekProtocolDecoder decoder = new MegastekProtocolDecoder(new MegastekProtocol());
+ verifyPosition(decoder, text(
+ "0170$MGV002,354550056642321,GVT900-3,S,011017,090208,A,1635.8484,N,10446.6095,E,00,09,00,0.91,16.980,257.73,177.6,0.0,457,01,0741,00C0,21,0000,0000,20,10,0, , ,,1-1,54,Dist;!"));
+
verifyNull(decoder, text(
"0140$MGV002,354550056642321,GVT900-3,S,300917,071731,V,,,,,00,00,00,99.9,0.000,0.00,,0.0,457,01,0741,00CD,,0000,0000,20,10,0, , ,,1-1,94,PW ON;!"));