aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-02-07 20:58:19 -0800
committerAnton Tananaev <anton@traccar.org>2024-02-07 20:58:19 -0800
commit9ca9c0c146125eaa9a6a3e875e5dd596b6fa228b (patch)
treef4c55541f9a5392d2e598982f0669d98509e35e0
parentc506f723c905fed6995cde26168dce9948599fd4 (diff)
downloadtrackermap-server-9ca9c0c146125eaa9a6a3e875e5dd596b6fa228b.tar.gz
trackermap-server-9ca9c0c146125eaa9a6a3e875e5dd596b6fa228b.tar.bz2
trackermap-server-9ca9c0c146125eaa9a6a3e875e5dd596b6fa228b.zip
Reverse Teltonika driver id
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 537990265..2f0874797 100644
--- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -231,7 +231,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
register(74, fmbXXX, (p, b) -> p.set(Position.PREFIX_TEMP + 3, b.readInt() * 0.1));
register(75, fmbXXX, (p, b) -> p.set(Position.PREFIX_TEMP + 4, b.readInt() * 0.1));
register(78, null, (p, b) -> {
- long driverUniqueId = b.readLong();
+ long driverUniqueId = b.readLongLE();
if (driverUniqueId > 0) {
p.set(Position.KEY_DRIVER_UNIQUE_ID, String.format("%016X", driverUniqueId));
}