aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-08 16:48:51 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-08 16:48:51 +1300
commitb4c411a95fb4432efe5aef26444f0699e43e90dc (patch)
tree43a8c77d64a3d17196c13b8ed7c9cfbe96cbd164 /test/org/traccar/protocol
parent34499f29f0f20c4acecc455fde67c5332790e926 (diff)
downloadtrackermap-server-b4c411a95fb4432efe5aef26444f0699e43e90dc.tar.gz
trackermap-server-b4c411a95fb4432efe5aef26444f0699e43e90dc.tar.bz2
trackermap-server-b4c411a95fb4432efe5aef26444f0699e43e90dc.zip
Support GV300 fuel sensor
Diffstat (limited to 'test/org/traccar/protocol')
-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 e92936342..9ec67273c 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(new Gl200Protocol());
+ verifyPositions(decoder, buffer(
+ "+RESP:GTERI,250C02,868789023691057,,00000019,,10,1,1,0.0,196,2258.0,-99.201807,19.559242,20180214002957,0334,0003,235B,7F8D,00,6786.7,,,,100,110000,1,0394,1,4,100.0,100.0,20180214003006,C72B$"));
+
verifyAttributes(decoder, buffer(
"+RESP:GTCAN,310603,863286023335723,gv65,00,1,C03FFFFF,,0,,719601.00,,,,,,,,274.99,179.02,95.98,84761.00,,,0,,0,,,0,0.0,216,29.8,-2.155296,51.899400,20180209172714,0234,0010,53F3,8D38,00,20180211002128,E94E$"));