diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-19 21:12:29 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-19 21:12:29 +1200 |
commit | 2737d1c994a4d8e45946a701cb93ae57dd5fd802 (patch) | |
tree | 18ad95ef2d5c2393c5204a9db5c87c0abfa22355 /src/org/traccar/protocol | |
parent | a3e01d6998005db012530be3456e8d06b5d91c5b (diff) | |
download | traccar-server-2737d1c994a4d8e45946a701cb93ae57dd5fd802.tar.gz traccar-server-2737d1c994a4d8e45946a701cb93ae57dd5fd802.tar.bz2 traccar-server-2737d1c994a4d8e45946a701cb93ae57dd5fd802.zip |
Add extra parameter to gps103
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |