diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-03 11:02:57 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-03 11:02:57 +1200 |
commit | db0af8a22724d153baf5a12edc1eb5ee551fbc14 (patch) | |
tree | 9c99808cd5b7f1985e4f13bbd54ae4f99299ccdb /src | |
parent | 1f767087fca72d259462d38c5eb2dea47e14c25e (diff) | |
download | trackermap-server-db0af8a22724d153baf5a12edc1eb5ee551fbc14.tar.gz trackermap-server-db0af8a22724d153baf5a12edc1eb5ee551fbc14.tar.bz2 trackermap-server-db0af8a22724d153baf5a12edc1eb5ee551fbc14.zip |
Add new Tytan dynamic code
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/TytanProtocolDecoder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/TytanProtocolDecoder.java b/src/org/traccar/protocol/TytanProtocolDecoder.java index 72de2068b..56b8f5622 100644 --- a/src/org/traccar/protocol/TytanProtocolDecoder.java +++ b/src/org/traccar/protocol/TytanProtocolDecoder.java @@ -160,6 +160,9 @@ public class TytanProtocolDecoder extends BaseProtocolDecoder { case 83: buf.readUnsignedInt(); // diagnostic break; + case 90: + position.set("power", buf.readFloat()); + break; case 99: buf.readUnsignedInt(); // tachograph break; |