diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-28 13:40:00 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-28 13:40:00 +1200 |
commit | 53494de4e41e1c4d4440c9afc0c4a9dfa6480558 (patch) | |
tree | 9dc441029fbcb5ea71b83c49ef89599012bcccc8 /src/org/traccar/protocol/ApelProtocolDecoder.java | |
parent | c1b6fb0e25020b845b059aef0adebeac7d90ed7c (diff) | |
download | trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.tar.gz trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.tar.bz2 trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.zip |
Remove optional fields
Diffstat (limited to 'src/org/traccar/protocol/ApelProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/ApelProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/ApelProtocolDecoder.java b/src/org/traccar/protocol/ApelProtocolDecoder.java index 5f626a496..9ffc473c7 100644 --- a/src/org/traccar/protocol/ApelProtocolDecoder.java +++ b/src/org/traccar/protocol/ApelProtocolDecoder.java @@ -177,7 +177,7 @@ public class ApelProtocolDecoder extends BaseProtocolDecoder { if (type == MSG_TYPE_LOG_RECORDS) { extendedInfo.set("archive", true); lastIndex = buf.readUnsignedInt() + 1; - position.setId(lastIndex); + extendedInfo.set("index", lastIndex); subtype = buf.readUnsignedShort(); if (subtype != MSG_TYPE_CURRENT_GPS_DATA && subtype != MSG_TYPE_STATE_FULL_INFO_T104) { |