aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-09 15:48:20 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-09 15:48:20 +1300
commit806584d5d19f224eb26cade7096926af9cc0e4c2 (patch)
tree7481f16275b03019cec8ed28eb9b818a9dfc2186 /test/org
parent9c9370f72c51d7466d3b25a59264ee98f4319b3a (diff)
downloadtraccar-server-806584d5d19f224eb26cade7096926af9cc0e4c2.tar.gz
traccar-server-806584d5d19f224eb26cade7096926af9cc0e4c2.tar.bz2
traccar-server-806584d5d19f224eb26cade7096926af9cc0e4c2.zip
Handle GV300 empty CAN fields
Diffstat (limited to 'test/org')
-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 a32cec1d4..75edb367c 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);
+ 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$"));
+
verifyPositions(decoder, buffer(
"+RESP:GTSTR,440502,866427030112088,GL530,0,0,2,,100,3,0.6,0,127.5,2.413963,48.877096,20180704180102,0208,0001,0310,E625,,,0000,20180704180100,004C$"));