aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TytanProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-03 11:02:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-03 11:02:57 +1200
commitdb0af8a22724d153baf5a12edc1eb5ee551fbc14 (patch)
tree9c99808cd5b7f1985e4f13bbd54ae4f99299ccdb /src/org/traccar/protocol/TytanProtocolDecoder.java
parent1f767087fca72d259462d38c5eb2dea47e14c25e (diff)
downloadtrackermap-server-db0af8a22724d153baf5a12edc1eb5ee551fbc14.tar.gz
trackermap-server-db0af8a22724d153baf5a12edc1eb5ee551fbc14.tar.bz2
trackermap-server-db0af8a22724d153baf5a12edc1eb5ee551fbc14.zip
Add new Tytan dynamic code
Diffstat (limited to 'src/org/traccar/protocol/TytanProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TytanProtocolDecoder.java3
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;