aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-10-06 13:59:31 +0500
committerAbyss777 <abyss@fox5.ru>2016-10-06 13:59:31 +0500
commit4b816255f5e55cddd8ea022b940f33bd204aeb60 (patch)
tree49d61d1a2e43c7f0e22344def6fae684bfd30fbe /test/org/traccar/protocol
parent453bd2ed647d66725790b35eaab4932bf86b3ad1 (diff)
downloadtraccar-server-4b816255f5e55cddd8ea022b940f33bd204aeb60.tar.gz
traccar-server-4b816255f5e55cddd8ea022b940f33bd204aeb60.tar.bz2
traccar-server-4b816255f5e55cddd8ea022b940f33bd204aeb60.zip
GTINF can come from buffer
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 914db782e..c2cdafb49 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -22,6 +22,9 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, text(
"+RESP:GTINF,1A0800,860599000773978,GL300,41,89701016426133851978,17,0,1,26.6,,3.90,1,1,0,0,0,20161003184043,69,1,44,,,20161004040811,022C$"));
+ verifyAttributes(decoder, text(
+ "+BUFF:GTINF,1A0800,860599000773978,GL300,41,89701016426133851978,23,0,1,204.7,,3.84,1,1,0,0,0,20161006072548,62,1,38,,,20161006082343,0C98$"));
+
verifyPosition(decoder, text(
"+RESP:GTFRI,360100,864251020141408,3VWGW6AJ0FM237324,gv500,,10,1,1,0.0,0,2258.4,-99.256948,19.555800,20160929214743,0334,0020,0084,65AC,00,0.0,,,,100,410000,0,nan,,20160929214743,13BA$"));