aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-05-11 12:24:48 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-05-11 12:24:48 -0700
commit9256a86c91349f63759c7e7d14eaaf56abd567f3 (patch)
treeadcdb9c93329a087fb2d0775ad17c136c47b13dc /src/test/java/org/traccar/protocol
parent327b4855db850a39808716b36265198b0340fe5f (diff)
downloadtraccar-server-9256a86c91349f63759c7e7d14eaaf56abd567f3.tar.gz
traccar-server-9256a86c91349f63759c7e7d14eaaf56abd567f3.tar.bz2
traccar-server-9256a86c91349f63759c7e7d14eaaf56abd567f3.zip
Support GV300CAN driver behavior
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index df7e5d53c..35a96a6cf 100644
--- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -12,6 +12,10 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
Gl200TextProtocolDecoder decoder = new Gl200TextProtocolDecoder(null);
verifyAttribute(decoder, buffer(
+ "+RESP:GTHBM,4B0101,135790246811220,,,10,1,1,4.3,92,70.0,121.354335,31.222073,20090214013254,0460,0000,18d8,6141,00,2000.0,20090214093254,11F0$"),
+ Position.KEY_ALARM, Position.ALARM_BRAKING);
+
+ verifyAttribute(decoder, buffer(
"+RESP:GTPFA,F50201,866425030235982,GL300M,20190208124849,0BD4$"),
Position.KEY_ALARM, Position.ALARM_POWER_OFF);