aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-30 02:12:51 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-30 02:12:51 +1200
commitdf43d91b34f9b03aee9fb4cf1be582fb2fc7a688 (patch)
tree4007c9903bc706d358ebcbafefffdc80f09b1444
parente3dfcf55262b60142a10458641f720aff3a0f6ad (diff)
downloadtraccar-server-df43d91b34f9b03aee9fb4cf1be582fb2fc7a688.tar.gz
traccar-server-df43d91b34f9b03aee9fb4cf1be582fb2fc7a688.tar.bz2
traccar-server-df43d91b34f9b03aee9fb4cf1be582fb2fc7a688.zip
Add GV500 OBD test case
-rw-r--r--test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index 6796f48ee..cb515a73e 100644
--- a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
Gl200TextProtocolDecoder decoder = new Gl200TextProtocolDecoder(new Gl200Protocol());
+ verifyPosition(decoder, buffer(
+ "+RESP:GTOBD,360701,864251020253807,LSGTC58UX7Y067312,GV500,0,70FFFF,LSGTC58UX7Y067312,1,12309,983A8140,0,0,33,nan,,0,0,0,,10,0,,0,4.4,0,83.7,36.235142,49.967324,20170829112348,0255,0001,2760,9017,00,690.1,20170829112400,3456$"));
+
verifyPositions(decoder, buffer(
"+RESP:GTERI,060502,861074023620928,,00000002,27822,10,1,1,0.0,84,2870.9,-78.531796,-0.277329,20170825045344,,,,,,0.0,01138:30:24,,,83,220104,2,1,28FF2776A2150308,1,FFAD,0,20170825045348,A88C$"));