aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/C2stekProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-24 10:07:50 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-24 10:07:50 +1300
commit26a22bfb11e7e71ce06628ee397eb06b2a66d231 (patch)
treeecac0be808b5df29b98d713882d1d1f06848bb85 /src/org/traccar/protocol/C2stekProtocolDecoder.java
parent540b90285d3493a10cb95d72196a4afe4b4acb5d (diff)
downloadtrackermap-server-26a22bfb11e7e71ce06628ee397eb06b2a66d231.tar.gz
trackermap-server-26a22bfb11e7e71ce06628ee397eb06b2a66d231.tar.bz2
trackermap-server-26a22bfb11e7e71ce06628ee397eb06b2a66d231.zip
Handle positive coordinates sign
Diffstat (limited to 'src/org/traccar/protocol/C2stekProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/C2stekProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/C2stekProtocolDecoder.java b/src/org/traccar/protocol/C2stekProtocolDecoder.java
index fd99990ce..6a31cb2f4 100644
--- a/src/org/traccar/protocol/C2stekProtocolDecoder.java
+++ b/src/org/traccar/protocol/C2stekProtocolDecoder.java
@@ -42,8 +42,8 @@ public class C2stekProtocolDecoder extends BaseProtocolDecoder {
.number("(dd)(dd)(dd)#") // date (yymmdd)
.number("(dd)(dd)(dd)#") // time (hhmmss)
.number("([01])#") // valid
- .number("(-?d+.d+)#") // latitude
- .number("(-?d+.d+)#") // longitude
+ .number("([+-]?d+.d+)#") // latitude
+ .number("([+-]?d+.d+)#") // longitude
.number("(d+.d+)#") // speed
.number("(d+.d+)#") // course
.number("(-?d+.d+)#") // altitude