From f934efecd57261a88efa122f7db5defc6adc43f1 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 11 Aug 2016 13:43:27 +0500 Subject: Reverted VisiontekProtocolDecoder, it is need deep fix --- src/org/traccar/protocol/VisiontekProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/traccar/protocol/VisiontekProtocolDecoder.java b/src/org/traccar/protocol/VisiontekProtocolDecoder.java index 47a8b20cf..bfd4a78fa 100644 --- a/src/org/traccar/protocol/VisiontekProtocolDecoder.java +++ b/src/org/traccar/protocol/VisiontekProtocolDecoder.java @@ -109,7 +109,7 @@ public class VisiontekProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_SATELLITES, parser.next()); position.set(Position.KEY_ODOMETER, parser.next()); - position.set(Position.KEY_IGNITION, parser.next().equals("1")); + position.set(Position.KEY_IGNITION, parser.next()); position.set(Position.PREFIX_IO + 1, parser.next()); position.set(Position.PREFIX_IO + 2, parser.next()); position.set("immobilizer", parser.next()); -- cgit v1.2.3