aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-19 21:12:29 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-19 21:12:29 +1200
commit2737d1c994a4d8e45946a701cb93ae57dd5fd802 (patch)
tree18ad95ef2d5c2393c5204a9db5c87c0abfa22355 /src/org/traccar/protocol
parenta3e01d6998005db012530be3456e8d06b5d91c5b (diff)
downloadtraccar-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.java2
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;
}