From ea39e1d4c8ba7fe8e2a017ec064b3bcb90f2e1d8 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 11 Aug 2021 19:49:42 -0700 Subject: Additional OBD parameters --- .../org/traccar/protocol/PacificTrackProtocolDecoder.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/main/java/org/traccar/protocol') 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; -- cgit v1.2.3