diff options
author | Anton Tananaev <anton@traccar.org> | 2023-11-16 07:13:24 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-11-16 07:13:24 -0800 |
commit | 53de5422119c993d3fe8ed5b476c65cc01d340c5 (patch) | |
tree | dc81a3733b64748848430e595ca546d91eb65123 /src/main/java/org | |
parent | 88fdb4e19ba4f4f13deaefa64af1c5ad6896e655 (diff) | |
download | trackermap-server-53de5422119c993d3fe8ed5b476c65cc01d340c5.tar.gz trackermap-server-53de5422119c993d3fe8ed5b476c65cc01d340c5.tar.bz2 trackermap-server-53de5422119c993d3fe8ed5b476c65cc01d340c5.zip |
Add Meitrack T633L fuel level
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java index 506ad2179..ea3302c30 100644 --- a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java @@ -471,6 +471,9 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder { case 0x1A: position.set(Position.KEY_POWER, buf.readUnsignedShortLE() * 0.01); break; + case 0x29: + position.set(Position.KEY_FUEL_LEVEL, buf.readUnsignedShortLE() * 0.01); + break; case 0x40: position.set(Position.KEY_EVENT, buf.readUnsignedShortLE()); break; |