aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-17 10:23:39 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-09-17 10:23:39 +1200
commitbb599edbd964dd036f3433625034ce985cfc4eef (patch)
tree5fc6f8321d95f41feca994c1af65735f1c923ee3 /src/org/traccar/protocol
parentc82fd979ad17ecfb7dd8f3e366c067b66f4cdabc (diff)
downloadtrackermap-server-bb599edbd964dd036f3433625034ce985cfc4eef.tar.gz
trackermap-server-bb599edbd964dd036f3433625034ce985cfc4eef.tar.bz2
trackermap-server-bb599edbd964dd036f3433625034ce985cfc4eef.zip
Handle all Telic formats
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/TelicProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TelicProtocolDecoder.java b/src/org/traccar/protocol/TelicProtocolDecoder.java
index a875009a1..2c0d714c6 100644
--- a/src/org/traccar/protocol/TelicProtocolDecoder.java
+++ b/src/org/traccar/protocol/TelicProtocolDecoder.java
@@ -35,7 +35,7 @@ public class TelicProtocolDecoder extends BaseProtocolDecoder {
private static final Pattern PATTERN = new PatternBuilder()
.number("dddd")
.number("(d{6}|d{15})") // device id
- .number("(dd),") // type
+ .number("(d{1,2}),") // type
.number("d{12},") // event time
.number("d+,")
.number("(dd)(dd)(dd)") // date (ddmmyy)