aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-20 09:51:21 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-20 09:51:21 +1200
commitc815113b89067b6772f63ff8548b59367145bf46 (patch)
tree2aea429a3ecad49e27ff34172cc4822f4fb1b5f5 /src/org/traccar/protocol
parentd369f6597afb08daeaf71d1d9b4961000249c651 (diff)
downloadtrackermap-server-c815113b89067b6772f63ff8548b59367145bf46.tar.gz
trackermap-server-c815113b89067b6772f63ff8548b59367145bf46.tar.bz2
trackermap-server-c815113b89067b6772f63ff8548b59367145bf46.zip
Fix Atrack binary decoding issue
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/AtrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AtrackProtocolDecoder.java b/src/org/traccar/protocol/AtrackProtocolDecoder.java
index 17b0466b1..1b10f7fa1 100644
--- a/src/org/traccar/protocol/AtrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/AtrackProtocolDecoder.java
@@ -283,7 +283,7 @@ public class AtrackProtocolDecoder extends BaseProtocolDecoder {
buf.skipBytes(6); // maximum g force
break;
case "ME":
- readString(buf); // imei
+ buf.readLong(); // imei
break;
case "IA":
buf.readUnsignedByte(); // intake air temperature