diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-21 20:41:35 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-21 20:41:35 -0800 |
commit | 2bccfa2bff73a5e44503c3fae14c83b21008d339 (patch) | |
tree | fadbf5b03183f5727ab9feda8552ea6ff021090d | |
parent | 8b56fec5a7cec7c702220c23bfd7ac3722d3678e (diff) | |
download | traccar-server-2bccfa2bff73a5e44503c3fae14c83b21008d339.tar.gz traccar-server-2bccfa2bff73a5e44503c3fae14c83b21008d339.tar.bz2 traccar-server-2bccfa2bff73a5e44503c3fae14c83b21008d339.zip |
Support second ADC value
-rw-r--r-- | src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java | 3 |
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; |