aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-08-11 19:49:42 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-08-11 19:49:42 -0700
commitea39e1d4c8ba7fe8e2a017ec064b3bcb90f2e1d8 (patch)
treecca51b5a37215095e4a2cf17c4b50f90ee533f21 /src/main/java/org
parent6ced867cad974c3b75b9ade45ba8bda038e6155e (diff)
downloadtraccar-server-ea39e1d4c8ba7fe8e2a017ec064b3bcb90f2e1d8.tar.gz
traccar-server-ea39e1d4c8ba7fe8e2a017ec064b3bcb90f2e1d8.tar.bz2
traccar-server-ea39e1d4c8ba7fe8e2a017ec064b3bcb90f2e1d8.zip
Additional OBD parameters
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/PacificTrackProtocolDecoder.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/PacificTrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/PacificTrackProtocolDecoder.java
index c9044fa2b..b5d34a029 100644
--- a/src/main/java/org/traccar/protocol/PacificTrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/PacificTrackProtocolDecoder.java
@@ -138,6 +138,21 @@ public class PacificTrackProtocolDecoder extends BaseProtocolDecoder {
case 0b01011:
position.set("barometer", buf.readUnsignedByte() * 0.5);
break;
+ case 0b01100:
+ position.set("intakeManifoldTemp", buf.readUnsignedByte() - 40);
+ break;
+ case 0b01101:
+ position.set("fuelTankTemp", buf.readUnsignedByte() - 40);
+ break;
+ case 0b01110:
+ position.set("intercoolerTemp", buf.readUnsignedByte() - 40);
+ break;
+ case 0b01111:
+ position.set("turboOilTemp", buf.readUnsignedByte() - 40);
+ break;
+ case 0b10000:
+ position.set("transOilTemp", buf.readUnsignedByte() - 40);
+ break;
default:
buf.readUnsignedByte();
break;