aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
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;