aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2024-03-30 06:58:10 -0700
committerGitHub <noreply@github.com>2024-03-30 06:58:10 -0700
commitade3ae3d1693e7bb3b8a50339378e683333b7774 (patch)
treeda0fd32ce1210629b98f893e4015941c70e8dacc /src/test/java
parent13f6415ba0a8ca76d1a2cbb3d0ea199361295f1b (diff)
parent829387a48e278ea7428ee719cf6973ecf36271b9 (diff)
downloadtrackermap-server-ade3ae3d1693e7bb3b8a50339378e683333b7774.tar.gz
trackermap-server-ade3ae3d1693e7bb3b8a50339378e683333b7774.tar.bz2
trackermap-server-ade3ae3d1693e7bb3b8a50339378e683333b7774.zip
Merge pull request #5289 from jcardus/queclink-gv310lau
Fix INF message on GV310LAU
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index b6e50e07d..768704b68 100644
--- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -487,6 +487,17 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, buffer(
"+ACK:GTGEO,1A0102,135790246811220,,0,0008,20100310172830,11F0"));
+ verifyAttributes(decoder, buffer(
+ "+RESP:GTINF,6E0202,868589060187625,RA82,11,89883030000091225018,41,0,1,12349,,4.15,0,1,0,0,20240328231013,0,0,0,0,00,00,+0000,0,20240328231015,7D4F"));
+
+ verifyAttribute(decoder, buffer(
+ "+RESP:GTINF,6E0202,868589060187625,RA82,11,89883030000091225018,41,0,1,12349,,4.15,0,1,0,0,20240328231013,0,0,0,0,00,00,+0000,0,20240328231015,7D4F"),
+ Position.KEY_POWER, 12.349);
+
+ verifyAttribute(decoder, buffer(
+ "+RESP:GTINF,6E0202,868589060187625,RA82,11,89883030000091225018,41,0,1,12349,,4.15,0,1,0,0,20240328231013,0,0,0,0,00,00,+0000,0,20240328231015,7D4F"),
+ Position.PREFIX_ADC + 3, "0");
+
decoder.setModelOverride("GV355CEU");
verifyAttributes(decoder, buffer(