diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/ProgressProtocolDecoder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/ProgressProtocolDecoder.java b/src/org/traccar/protocol/ProgressProtocolDecoder.java index 57cf82235..312886591 100644 --- a/src/org/traccar/protocol/ProgressProtocolDecoder.java +++ b/src/org/traccar/protocol/ProgressProtocolDecoder.java @@ -150,6 +150,7 @@ public class ProgressProtocolDecoder extends BaseProtocolDecoder { extendedInfo.append("<alarm>true</alarm>"); } if (buf.readUnsignedShort() > buf.readableBytes()) { + lastIndex += 1; break; // workaround for device bug } lastIndex = buf.readUnsignedInt(); |