diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-27 23:51:37 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-27 23:51:37 +1300 |
commit | f6fc3fb5431e0904bde0d3afe35d622b7bdbe935 (patch) | |
tree | 15c2dcffb0a9158671c4b5190ecfb9eee8fd916a /src/org/traccar | |
parent | b24067b9faa17020d5018c1780d6bff236e5a91a (diff) | |
download | trackermap-server-f6fc3fb5431e0904bde0d3afe35d622b7bdbe935.tar.gz trackermap-server-f6fc3fb5431e0904bde0d3afe35d622b7bdbe935.tar.bz2 trackermap-server-f6fc3fb5431e0904bde0d3afe35d622b7bdbe935.zip |
Modify CalAmp decoder and add test cases
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/CalAmpProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CalAmpProtocolDecoder.java b/src/org/traccar/protocol/CalAmpProtocolDecoder.java index 47d7bf483..2a4af2f03 100644 --- a/src/org/traccar/protocol/CalAmpProtocolDecoder.java +++ b/src/org/traccar/protocol/CalAmpProtocolDecoder.java @@ -121,7 +121,7 @@ public class CalAmpProtocolDecoder extends BaseProtocolDecoder { int accCount = BitUtil.to(buf.readUnsignedByte(), 6); if (type != MSG_MINI_EVENT_REPORT) { - buf.readUnsignedByte(); // reserved + position.set("append", buf.readUnsignedByte()); } if (accType == 1) { |