aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-11-21 20:41:35 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-11-21 20:41:35 -0800
commit2bccfa2bff73a5e44503c3fae14c83b21008d339 (patch)
treefadbf5b03183f5727ab9feda8552ea6ff021090d /src/main/java/org/traccar
parent8b56fec5a7cec7c702220c23bfd7ac3722d3678e (diff)
downloadtrackermap-server-2bccfa2bff73a5e44503c3fae14c83b21008d339.tar.gz
trackermap-server-2bccfa2bff73a5e44503c3fae14c83b21008d339.tar.bz2
trackermap-server-2bccfa2bff73a5e44503c3fae14c83b21008d339.zip
Support second ADC value
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index c634d2438..cc2868a20 100644
--- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -200,6 +200,9 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
case 9:
position.set(Position.PREFIX_ADC + 1, readValue(buf, length, false));
break;
+ case 10:
+ position.set(Position.PREFIX_ADC + 2, readValue(buf, length, false));
+ break;
case 17:
position.set("axisX", readValue(buf, length, true));
break;