diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-15 14:07:39 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-15 14:07:39 +1300 |
commit | cfe237cf26c6309b8431b3b81d589628ae363804 (patch) | |
tree | 64aa120e80bb91e1e8de3995b6dd1494a8962217 /src/org/traccar/protocol/MeitrackProtocolDecoder.java | |
parent | f9f37325f1161ddc2b726171e8af0dbb25787c6e (diff) | |
download | trackermap-server-cfe237cf26c6309b8431b3b81d589628ae363804.tar.gz trackermap-server-cfe237cf26c6309b8431b3b81d589628ae363804.tar.bz2 trackermap-server-cfe237cf26c6309b8431b3b81d589628ae363804.zip |
Rename cell attribute to cid
Diffstat (limited to 'src/org/traccar/protocol/MeitrackProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/MeitrackProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/org/traccar/protocol/MeitrackProtocolDecoder.java index 86fcac375..2b8460fc7 100644 --- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java +++ b/src/org/traccar/protocol/MeitrackProtocolDecoder.java @@ -122,7 +122,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder { position.set(Event.KEY_MCC, parser.next()); position.set(Event.KEY_MCC, parser.next()); position.set(Event.KEY_LAC, parser.next()); - position.set(Event.KEY_CELL, parser.next()); + position.set(Event.KEY_CID, parser.next()); position.set(Event.KEY_STATUS, parser.next()); for (int i = 1; i <= 3; i++) { @@ -198,7 +198,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder { position.set(Event.KEY_MCC, buf.readUnsignedShort()); position.set(Event.KEY_MCC, buf.readUnsignedShort()); position.set(Event.KEY_LAC, buf.readUnsignedShort()); - position.set(Event.KEY_CELL, buf.readUnsignedShort()); + position.set(Event.KEY_CID, buf.readUnsignedShort()); position.set(Event.KEY_STATUS, buf.readUnsignedShort()); position.set(Event.PREFIX_ADC + 1, buf.readUnsignedShort()); |