aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-24 23:06:07 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-24 23:06:07 +1300
commitc2248f7d46c992f24205f28622ccc72f7fc20b9c (patch)
tree0084bbb63a4ad819338f2bbece72da732679376e /src/org
parentb395bb276c73a9278ed2dad1168b8c0e8309e7c2 (diff)
downloadtrackermap-server-c2248f7d46c992f24205f28622ccc72f7fc20b9c.tar.gz
trackermap-server-c2248f7d46c992f24205f28622ccc72f7fc20b9c.tar.bz2
trackermap-server-c2248f7d46c992f24205f28622ccc72f7fc20b9c.zip
Implement iButton support for Aplicom
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/AplicomProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AplicomProtocolDecoder.java b/src/org/traccar/protocol/AplicomProtocolDecoder.java
index 6ae6aa09f..a3d34cf3c 100644
--- a/src/org/traccar/protocol/AplicomProtocolDecoder.java
+++ b/src/org/traccar/protocol/AplicomProtocolDecoder.java
@@ -288,7 +288,7 @@ public class AplicomProtocolDecoder extends BaseProtocolDecoder {
}
if ((selector & 0x0200) != 0) {
- buf.skipBytes(6); // button
+ position.set(Event.KEY_RFID, (((long) buf.readUnsignedShort()) << 32) + buf.readUnsignedInt());
}
if ((selector & 0x0400) != 0) {