diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-09 17:28:52 +1000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-09 17:28:52 +1000 |
commit | 810d4f77a77a7a66f22d747ef849925848b758f9 (patch) | |
tree | aeac50e9d29486baab10d2570153e24f4d089900 /src/org/traccar/protocol/AtrackProtocolDecoder.java | |
parent | 9365b2309cbbf6d94f1fb24e7cbd9552757d39f7 (diff) | |
download | trackermap-server-810d4f77a77a7a66f22d747ef849925848b758f9.tar.gz trackermap-server-810d4f77a77a7a66f22d747ef849925848b758f9.tar.bz2 trackermap-server-810d4f77a77a7a66f22d747ef849925848b758f9.zip |
Support GPS103 OBD messages (fix #1632)
Diffstat (limited to 'src/org/traccar/protocol/AtrackProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/AtrackProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AtrackProtocolDecoder.java b/src/org/traccar/protocol/AtrackProtocolDecoder.java index 2f0d692e9..72a17eed2 100644 --- a/src/org/traccar/protocol/AtrackProtocolDecoder.java +++ b/src/org/traccar/protocol/AtrackProtocolDecoder.java @@ -131,7 +131,7 @@ public class AtrackProtocolDecoder extends BaseProtocolDecoder { buf.readUnsignedByte(); // engine load break; case "TR": - buf.readUnsignedByte(); // throttle position + position.set(Event.KEY_THROTTLE, buf.readUnsignedByte()); break; case "ET": buf.readUnsignedShort(); // engine coolant temp |