diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-03 23:14:43 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-03 23:14:43 +1300 |
commit | c97958c10d9a1b9973d6278527c943f29c5a80a8 (patch) | |
tree | 129d14c4ca3df512b1268f2950691bf8812545aa /src/org | |
parent | f8a3f9e444b0c3d489635fccdbf6f8939068bba5 (diff) | |
download | traccar-server-c97958c10d9a1b9973d6278527c943f29c5a80a8.tar.gz traccar-server-c97958c10d9a1b9973d6278527c943f29c5a80a8.tar.bz2 traccar-server-c97958c10d9a1b9973d6278527c943f29c5a80a8.zip |
Handle non-decimal GPSMTA ids
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/GpsmtaProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java b/src/org/traccar/protocol/GpsmtaProtocolDecoder.java index 37023181e..0ee207219 100644 --- a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java +++ b/src/org/traccar/protocol/GpsmtaProtocolDecoder.java @@ -32,7 +32,7 @@ public class GpsmtaProtocolDecoder extends BaseProtocolDecoder { } private static final Pattern PATTERN = new PatternBuilder() - .number("(d+) ") // uid + .expression("([^ ]+) ") // uid .number("(d+) ") // time .number("(d+.d+) ") // latitude .number("(d+.d+) ") // longitude |