aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-02-28 15:51:36 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-02-28 15:51:36 -0800
commit166852601ab6b4f0e7917ae7c53a216ce3ffb054 (patch)
treef712532d1b28d2da8134f7949726f2c8be0545a7 /src/test/java/org/traccar/protocol
parent74555e6c149dd4782afd28efea3f45a876892b2c (diff)
downloadtrackermap-server-166852601ab6b4f0e7917ae7c53a216ce3ffb054.tar.gz
trackermap-server-166852601ab6b4f0e7917ae7c53a216ce3ffb054.tar.bz2
trackermap-server-166852601ab6b4f0e7917ae7c53a216ce3ffb054.zip
Support GV200 temperature
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index 915876609..b35b78992 100644
--- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
Gl200TextProtocolDecoder decoder = new Gl200TextProtocolDecoder(null);
+ verifyPositions(decoder, buffer(
+ "+RESP:GTERI,040A00,862894022579562,gv200,00000002,,10,1,1,96.1,180,749.7,39.222692,24.165463,20210225065756,0420,0004,759C,3360,00,15529.8,,,2789,,01,00,2,2,282BD47A0B000063,1,FFE2,281FDD5D0B000057,1,FFC8,20210225065800,6974$"));
+
verifyAttribute(decoder, buffer(
"+RESP:GTERI,DE0115,865284042104863,gl500m,00000100,0,0,1,2,0.0,0,36.9,-1.844589,52.177779,20201006125701,0234,0015,0135,34A1,19,0,,79,1,,0,20201006125723,184D$"),
Position.KEY_BATTERY_LEVEL, 79);