diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-28 11:47:46 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-28 11:47:46 +1300 |
commit | 9b08cbbca6a35862fbc33e48f5d876899954a17d (patch) | |
tree | cc8c1e892172742e35482cbc6ae6ca232b43366d /src/org/traccar/protocol/AplicomProtocolDecoder.java | |
parent | 063e5399efac99e0e73983d0534f37f052b52e49 (diff) | |
download | trackermap-server-9b08cbbca6a35862fbc33e48f5d876899954a17d.tar.gz trackermap-server-9b08cbbca6a35862fbc33e48f5d876899954a17d.tar.bz2 trackermap-server-9b08cbbca6a35862fbc33e48f5d876899954a17d.zip |
Decode extra Tytan parameters
Diffstat (limited to 'src/org/traccar/protocol/AplicomProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/AplicomProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AplicomProtocolDecoder.java b/src/org/traccar/protocol/AplicomProtocolDecoder.java index 490f70e1b..574ff09c3 100644 --- a/src/org/traccar/protocol/AplicomProtocolDecoder.java +++ b/src/org/traccar/protocol/AplicomProtocolDecoder.java @@ -273,7 +273,7 @@ public class AplicomProtocolDecoder extends BaseProtocolDecoder { ChannelBuffer value = values.get(i); switch (buf.readInt()) { case 0x20D: - position.set("diesel-rpm", ChannelBuffers.swapShort(value.readShort())); + position.set(Event.KEY_RPM, ChannelBuffers.swapShort(value.readShort())); position.set("diesel-temperature", ChannelBuffers.swapShort(value.readShort()) * 0.1); position.set("battery-voltage", ChannelBuffers.swapShort(value.readShort()) * 0.01); position.set("supply-air-temp-dep1", ChannelBuffers.swapShort(value.readShort()) * 0.1); |