aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-02-21 22:42:18 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-02-21 22:42:18 -0500
commita36edc4f713bc0e3642fbd60787c0094a6452830 (patch)
tree1f70d720eb525f4f62c0e64292486462d4e44f51 /src/org
parentb96c5afe15d06fedb76bcaf5445b4573c79ce60e (diff)
downloadtraccar-server-a36edc4f713bc0e3642fbd60787c0094a6452830.tar.gz
traccar-server-a36edc4f713bc0e3642fbd60787c0094a6452830.tar.bz2
traccar-server-a36edc4f713bc0e3642fbd60787c0094a6452830.zip
Updated AplicomProtocol to record KEY_VIN;
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 bcaac5349..92e0d178c 100644
--- a/src/org/traccar/protocol/AplicomProtocolDecoder.java
+++ b/src/org/traccar/protocol/AplicomProtocolDecoder.java
@@ -490,7 +490,7 @@ public class AplicomProtocolDecoder extends BaseProtocolDecoder {
break;
}
buf.readUnsignedByte();
- buf.readBytes(17); // vin
+ position.set(Position.KEY_VIN, buf.readBytes(17).toString());
position.set("towedDetectionStatus", buf.readUnsignedByte());
} else if (type == 0x0E) {
buf.skipBytes(length);