diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-07 10:09:19 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-07 10:09:19 +1300 |
commit | f8247b46234d7844d3692d5db2e35effab3ac603 (patch) | |
tree | cc703cd065a798ef71782b0149c98d87679f0369 | |
parent | 2b9187ac736feeb661e2814af8fa534a335998d4 (diff) | |
download | traccar-server-f8247b46234d7844d3692d5db2e35effab3ac603.tar.gz traccar-server-f8247b46234d7844d3692d5db2e35effab3ac603.tar.bz2 traccar-server-f8247b46234d7844d3692d5db2e35effab3ac603.zip |
Fix GPS103 IO parameters decoding
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 |
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; |