diff options
author | Ivan Muratov <binakot@gmail.com> | 2017-07-14 10:00:52 +0300 |
---|---|---|
committer | Ivan Muratov <binakot@gmail.com> | 2017-07-14 10:00:52 +0300 |
commit | 6c7ef5fad28f65b1bf2693c25759517d69317f6e (patch) | |
tree | 142c1ef478b721c78fe8d46c5f8d3d66950c98b9 /src | |
parent | 3493ce57f0b158855bcfaa3882b4600c80519eee (diff) | |
parent | fd1d75cb1a6dd1a4af065fec66ab69fcaf359916 (diff) | |
download | trackermap-server-6c7ef5fad28f65b1bf2693c25759517d69317f6e.tar.gz trackermap-server-6c7ef5fad28f65b1bf2693c25759517d69317f6e.tar.bz2 trackermap-server-6c7ef5fad28f65b1bf2693c25759517d69317f6e.zip |
Merge branch 'arnavi4_hotfix'
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/Arnavi4ProtocolDecoder.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java b/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java index 4422ff4a6..682fc1577 100644 --- a/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java +++ b/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java @@ -158,6 +158,8 @@ public class Arnavi4ProtocolDecoder extends BaseProtocolDecoder { if (recordType == RECORD_DATA) { positions.add(decodePosition(deviceSession, buf, length, time)); + } else { + buf.readBytes(length); // Skip other records } buf.readUnsignedByte(); // crc |