diff options
Diffstat (limited to 'src/org/traccar/protocol/Gps103ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolDecoder.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java index f842441a5..f6b763d15 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -190,10 +190,10 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder { } // Additional data - position.set("io1", parser.group(index++)); - position.set("io2", parser.group(index++)); - position.set("io3", parser.group(index++)); - position.set("io4", parser.group(index++)); + position.set(Event.PREFIX_IO + 1, parser.group(index++)); + position.set(Event.PREFIX_IO + 2, parser.group(index++)); + position.set(Event.PREFIX_IO + 3, parser.group(index++)); + position.set(Event.PREFIX_IO + 4, parser.group(index++)); return position; } |