aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-21 03:06:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-21 02:06:10 +1300
commit7ff14665cb215410e258c2f8c88ae5ca2dbf0ddf (patch)
treea1d2e27f26da70bc8f5832518a79e479f9ae7404 /test/org/traccar/protocol
parent22fdf5388719120b84ce981807d17d68e87a0c07 (diff)
downloadtraccar-server-7ff14665cb215410e258c2f8c88ae5ca2dbf0ddf.tar.gz
traccar-server-7ff14665cb215410e258c2f8c88ae5ca2dbf0ddf.tar.bz2
traccar-server-7ff14665cb215410e258c2f8c88ae5ca2dbf0ddf.zip
Decode GL200 battery percentage
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index c493d5172..7e6287514 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol());
verifyAttributes(decoder, text(
+ "+RESP:GTINF,210102,A100004D9EF2AE,,41,,8,99,0,17.7,21,3.58,0,1,1,0,0,20161216135038,4,,,,,20161216135038,00AB$"));
+
+ verifyAttributes(decoder, text(
"+RESP:GTSTR,400201,862365030034957,GL500,0,0,2,23.1,5,2,0.2,0,36.0,0.623089,51.582744,20161129174625,0234,0015,03C3,3550,,,,20161129174625,0026$"));
verifyNothing(decoder, text(