aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-09 20:35:34 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-09 20:35:34 +1300
commit76f85aee7141d1e7e75f59c46d7325fe35d08c19 (patch)
treee7dc95486ed09c0a302950152fab9b1f378d190a /test/org/traccar
parent806584d5d19f224eb26cade7096926af9cc0e4c2 (diff)
downloadtraccar-server-76f85aee7141d1e7e75f59c46d7325fe35d08c19.tar.gz
traccar-server-76f85aee7141d1e7e75f59c46d7325fe35d08c19.tar.bz2
traccar-server-76f85aee7141d1e7e75f59c46d7325fe35d08c19.zip
Improve GV500 GTFRI decoding
Diffstat (limited to 'test/org/traccar')
-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 75edb367c..cc5ef63d4 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(null);
+ verifyPositions(decoder, buffer(
+ "+RESP:GTFRI,1F0301,862193022001432,WF0GXXGBBGBM26503,,14900,41,1,1,11.6,74,356.0,14.120023,50.167894,20181104080703,0230,0003,9B14,5891,00,74.1,,,,83,220000,799,7.3,,20181104080703,099B$"));
+
verifyPosition(decoder, buffer(
"+RESP:GTCAN,4B0201,867995030001575,,10,0,C03FFFFF,,0,H0,,,,,,,,,,0.00,0.03,,,,0,,0,,,0,10.0,310,404.3,14.096743,50.143363,20181102110535,0230,0003,9B14,5066,00,20181102112101,03E0$"));