diff options
author | Anton Tananaev <anton@traccar.org> | 2024-06-25 07:22:12 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-06-25 07:22:12 -0700 |
commit | b13e4dafc64f4531370ffd73121f4d769d161311 (patch) | |
tree | e2af122edc477a4929d5a7c3a61011a104407270 /src/main/java/org/traccar | |
parent | 4e66d2b8dfbf362493905451cd8f6ca5655dddaa (diff) | |
download | trackermap-server-b13e4dafc64f4531370ffd73121f4d769d161311.tar.gz trackermap-server-b13e4dafc64f4531370ffd73121f4d769d161311.tar.bz2 trackermap-server-b13e4dafc64f4531370ffd73121f4d769d161311.zip |
Fix GTINF decoding (fix #5355)
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java | 2 |
1 files changed, 2 insertions, 0 deletions
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()); |