diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-07 11:07:51 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-07 11:07:51 +1200 |
commit | 9a40169b25e52fe15008eca61867dd1f81a31fba (patch) | |
tree | 53508c917f72c965d7040f94835af17f102006ce /src/org | |
parent | 1d67067154be3794bec53dc1cbd8acaee9085f33 (diff) | |
download | trackermap-server-9a40169b25e52fe15008eca61867dd1f81a31fba.tar.gz trackermap-server-9a40169b25e52fe15008eca61867dd1f81a31fba.tar.bz2 trackermap-server-9a40169b25e52fe15008eca61867dd1f81a31fba.zip |
Remove script line number from event
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/CalAmpProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CalAmpProtocolDecoder.java b/src/org/traccar/protocol/CalAmpProtocolDecoder.java index 51a2025b8..4dfb93440 100644 --- a/src/org/traccar/protocol/CalAmpProtocolDecoder.java +++ b/src/org/traccar/protocol/CalAmpProtocolDecoder.java @@ -193,7 +193,8 @@ public class CalAmpProtocolDecoder extends BaseProtocolDecoder { // Event code and status if (type == MSG_EVENT_REPORT || type == MSG_MINI_EVENT_REPORT) { - position.set(Event.KEY_EVENT, buf.readUnsignedByte() + " - " + buf.readUnsignedByte()); + buf.readUnsignedByte(); + position.set(Event.KEY_EVENT, buf.readUnsignedByte()); } // Accumulators |