aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-01-21 19:11:49 -0800
committerAnton Tananaev <anton@traccar.org>2023-01-21 19:11:49 -0800
commitf655b59d3f919bebc714c97ef871a0d85cb3d9ac (patch)
tree6ea281bc8dfec1d4524c740fb4e6e56c31577325
parentf8b0bb61df4865b2bac1f0fe98988c8db207422f (diff)
downloadtrackermap-server-f655b59d3f919bebc714c97ef871a0d85cb3d9ac.tar.gz
trackermap-server-f655b59d3f919bebc714c97ef871a0d85cb3d9ac.tar.bz2
trackermap-server-f655b59d3f919bebc714c97ef871a0d85cb3d9ac.zip
Add GV300 temperature test
-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 ef82a11a2..f3a77228c 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 {
var decoder = inject(new Gl200TextProtocolDecoder(null));
verifyAttribute(decoder, buffer(
+ "+RESP:GTERI,271002,863457051562823,,00000002,,10,1,1,0.0,15,28.2,-58.695253,-34.625413,20230119193305,0722,0007,1168,16B3BB,00,0.0,,,,99,210100,2,1,28F8A149F69A3C25,1,0190,20230119193314,07C7$"),
+ Position.PREFIX_TEMP + 1, 25.0);
+
+ verifyAttribute(decoder, buffer(
"+RESP:GTDAR,F10406,865284049582228,,4,0,,,1,18.5,0,129.4,114.015430,22.537279,20210922004634,0460,0000,27BD,0DFC,,,,20210922004635,082B$"),
"warningType", 4);