From a36edc4f713bc0e3642fbd60787c0094a6452830 Mon Sep 17 00:00:00 2001 From: jon-stumpf Date: Tue, 21 Feb 2017 22:42:18 -0500 Subject: Updated AplicomProtocol to record KEY_VIN; --- src/org/traccar/protocol/AplicomProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org') 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); -- cgit v1.2.3