aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-29 19:23:19 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-29 19:23:19 -0700
commit418e7ce116dd6c19b594f14ba220d3bdb905241c (patch)
tree439c6cf91c215de4722028a405787035d02efa1d /src/test/java/org/traccar
parent1089b4bd2c9721f88a898c69385ae3fcac4b6cbe (diff)
downloadtrackermap-server-418e7ce116dd6c19b594f14ba220d3bdb905241c.tar.gz
trackermap-server-418e7ce116dd6c19b594f14ba220d3bdb905241c.tar.bz2
trackermap-server-418e7ce116dd6c19b594f14ba220d3bdb905241c.zip
Decode GV350MG driver warnings
Diffstat (limited to 'src/test/java/org/traccar')
-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 1140aa110..ef82a11a2 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:GTDAR,F10406,865284049582228,,4,0,,,1,18.5,0,129.4,114.015430,22.537279,20210922004634,0460,0000,27BD,0DFC,,,,20210922004635,082B$"),
+ "warningType", 4);
+
+ verifyAttribute(decoder, buffer(
"+RESP:GTNMR,423033,355197370058831,,0,0,0,1,0,0.0,298,182.7,-79.257983,43.875152,20220627132020,,,,,15,0,74,20220627144928,03CF$"),
Position.KEY_BATTERY_LEVEL, 74);