aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GpsmtaProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/GpsmtaProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/GpsmtaProtocolDecoder.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java b/src/org/traccar/protocol/GpsmtaProtocolDecoder.java
index 7c7db9aa0..37023181e 100644
--- a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java
+++ b/src/org/traccar/protocol/GpsmtaProtocolDecoder.java
@@ -32,18 +32,18 @@ public class GpsmtaProtocolDecoder extends BaseProtocolDecoder {
}
private static final Pattern PATTERN = new PatternBuilder()
- .num("(d+) ") // uid
- .num("(d+) ") // time
- .num("(d+.d+) ") // latitude
- .num("(d+.d+) ") // longitude
- .num("(d+) ") // speed
- .num("(d+) ") // course
- .num("(d+) ") // accuracy
- .num("(d+) ") // altitude
- .num("(d+) ") // flags
- .num("(d+) ") // battery
- .num("(d+) ") // temperature
- .num("(d)") // changing status
+ .number("(d+) ") // uid
+ .number("(d+) ") // time
+ .number("(d+.d+) ") // latitude
+ .number("(d+.d+) ") // longitude
+ .number("(d+) ") // speed
+ .number("(d+) ") // course
+ .number("(d+) ") // accuracy
+ .number("(d+) ") // altitude
+ .number("(d+) ") // flags
+ .number("(d+) ") // battery
+ .number("(d+) ") // temperature
+ .number("(d)") // changing status
.any()
.compile();