From b13e4dafc64f4531370ffd73121f4d769d161311 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 25 Jun 2024 07:22:12 -0700 Subject: Fix GTINF decoding (fix #5355) --- src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java') diff --git a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java index cfed351f2..3afea3b1b 100644 --- a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java @@ -278,6 +278,8 @@ public class Gl200TextProtocolDecoder extends BaseProtocolDecoder { position.set(Position.PREFIX_ADC + 2, parser.next()); if (model.equals("GV310LAU")) { position.set(Position.PREFIX_ADC + 3, parser.next()); + } else { + parser.next(); // skip for other devices } position.set(Position.KEY_INPUT, parser.next()); -- cgit v1.2.3