aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java
index aa02e8ad4..e00d83061 100644
--- a/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -77,7 +77,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
.expression("([EW])?,").optional()
.number("(d+.?d*)?").optional() // speed
.number(",(d+.?d*)?").optional() // course
- .number(",(d+.?d*)?").optional() // altitude
+ .number(",(-?d+.?d*)?").optional() // altitude
.number(",([01])?").optional() // ignition
.number(",([01])?").optional() // door
.groupBegin()