From 2737d1c994a4d8e45946a701cb93ae57dd5fd802 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 19 Jun 2015 21:12:29 +1200 Subject: Add extra parameter to gps103 --- src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/org/traccar/protocol') diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java index f96f30090..38e6ec834 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -56,6 +56,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder { "([^,]+)?,?" + "([^,]+)?,?" + "([^,]+)?,?" + + "([^,]+)?,?" + ".*"); @Override @@ -197,6 +198,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder { position.set(Event.PREFIX_IO + 2, parser.group(index++)); position.set(Event.PREFIX_IO + 3, parser.group(index++)); position.set(Event.PREFIX_IO + 4, parser.group(index++)); + position.set(Event.PREFIX_IO + 5, parser.group(index++)); return position; } -- cgit v1.2.3