aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-01-20 10:35:13 -0800
committerAnton Tananaev <anton@traccar.org>2024-01-20 10:35:13 -0800
commit8d2accad7071321c65055d8fb9e11d2a6a586b02 (patch)
treecf09511a92ffd31c964cdf679ffe7b4b32d227d7 /src/main
parent7374a69f188918cbd247047fcb5fe09dabffa400 (diff)
downloadtrackermap-server-8d2accad7071321c65055d8fb9e11d2a6a586b02.tar.gz
trackermap-server-8d2accad7071321c65055d8fb9e11d2a6a586b02.tar.bz2
trackermap-server-8d2accad7071321c65055d8fb9e11d2a6a586b02.zip
Missing Meitrack T399 parameters
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java3
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 c37d1fe47..965c8ee0d 100644
--- a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -465,6 +465,9 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
case 0x16:
position.set(Position.PREFIX_ADC + 1, buf.readUnsignedShortLE() * 0.01);
break;
+ case 0x17:
+ position.set(Position.PREFIX_ADC + 2, buf.readUnsignedShortLE() * 0.01);
+ break;
case 0x19:
position.set(Position.KEY_BATTERY, buf.readUnsignedShortLE() * 0.01);
break;