From f8247b46234d7844d3692d5db2e35effab3ac603 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 7 Oct 2015 10:09:19 +1300 Subject: Fix GPS103 IO parameters decoding --- src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/protocol') diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java index 4a81ceb43..9936a064a 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -200,7 +200,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder { // Additional data for (int i = 1; i <= 5; i++) { - position.set(Event.PREFIX_IO + 1, parser.group(index++)); + position.set(Event.PREFIX_IO + i, parser.group(index++)); } return position; -- cgit v1.2.3