aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorjcardus <asklocation.net@gmail.com>2024-03-29 01:10:06 +0000
committerjcardus <asklocation.net@gmail.com>2024-03-29 01:10:06 +0000
commit0bf22eb231e3eb9ecf912f41dcc8f5e7f7fa8865 (patch)
tree9c794c571287132152e760f2f443ee92b0f4dd22 /src/test/java/org/traccar/protocol
parentb6be94fef718926f5575257ab2724f5e538e215f (diff)
downloadtrackermap-server-0bf22eb231e3eb9ecf912f41dcc8f5e7f7fa8865.tar.gz
trackermap-server-0bf22eb231e3eb9ecf912f41dcc8f5e7f7fa8865.tar.bz2
trackermap-server-0bf22eb231e3eb9ecf912f41dcc8f5e7f7fa8865.zip
Fix INF message on GV310LAU
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-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(