aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gps103ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-04 11:10:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-04 11:10:55 +1200
commit93feb8a5484fd6c4c3da2032d4c843b3194b5ff7 (patch)
tree65902d2f1e71a776814d66b68d79c3a307febc2b /src/org/traccar/protocol/Gps103ProtocolDecoder.java
parent88e777a2ceb50e34dbe9577237483d8d3cebf346 (diff)
downloadtrackermap-server-93feb8a5484fd6c4c3da2032d4c843b3194b5ff7.tar.gz
trackermap-server-93feb8a5484fd6c4c3da2032d4c843b3194b5ff7.tar.bz2
trackermap-server-93feb8a5484fd6c4c3da2032d4c843b3194b5ff7.zip
Create prefixes for other data
Diffstat (limited to 'src/org/traccar/protocol/Gps103ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java8
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;
}