diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-16 07:10:33 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-16 07:10:33 +1200 |
commit | 7820541530ea9891c001cbd8c53cc6340380a077 (patch) | |
tree | 7afe4382572a82a7e72f23e569d73867034e3fc4 /src/org/traccar/protocol | |
parent | a781fec58e94326a1b1580239cf92dbc543a59a1 (diff) | |
download | trackermap-server-7820541530ea9891c001cbd8c53cc6340380a077.tar.gz trackermap-server-7820541530ea9891c001cbd8c53cc6340380a077.tar.bz2 trackermap-server-7820541530ea9891c001cbd8c53cc6340380a077.zip |
Support new Telic format
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/TelicProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/TelicProtocolDecoder.java b/src/org/traccar/protocol/TelicProtocolDecoder.java index 62b756ab5..a875009a1 100644 --- a/src/org/traccar/protocol/TelicProtocolDecoder.java +++ b/src/org/traccar/protocol/TelicProtocolDecoder.java @@ -34,8 +34,8 @@ public class TelicProtocolDecoder extends BaseProtocolDecoder { private static final Pattern PATTERN = new PatternBuilder() .number("dddd") - .number("(d{6})") // device id - .number("(d+),") // type + .number("(d{6}|d{15})") // device id + .number("(dd),") // type .number("d{12},") // event time .number("d+,") .number("(dd)(dd)(dd)") // date (ddmmyy) |