diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-06-18 22:16:06 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-06-18 22:16:06 +1200 |
commit | 62379352b9f8f76ea4d72124af89d64c2e809a1c (patch) | |
tree | 093b050ba7f94d60891889ab980be5b3cd96067a /src/org/traccar | |
parent | 627aaff1b036a5a7b3dbc204726ba9f446beb1d3 (diff) | |
download | trackermap-server-62379352b9f8f76ea4d72124af89d64c2e809a1c.tar.gz trackermap-server-62379352b9f8f76ea4d72124af89d64c2e809a1c.tar.bz2 trackermap-server-62379352b9f8f76ea4d72124af89d64c2e809a1c.zip |
Fix ST210 decoder (fix #310)
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/St210ProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/St210ProtocolDecoder.java b/src/org/traccar/protocol/St210ProtocolDecoder.java index 5e1ac1bf6..432c9c1fa 100644 --- a/src/org/traccar/protocol/St210ProtocolDecoder.java +++ b/src/org/traccar/protocol/St210ProtocolDecoder.java @@ -33,8 +33,8 @@ public class St210ProtocolDecoder extends BaseProtocolDecoder { DATE("(\\d+);","GPS date (yyyymmdd) Year + Month + Day"), TIME("(\\d{2}:\\d{2}:\\d{2});","GPS time (hh:mm:ss) Hour : Minute : Second"), CELL("(\\w+);","Location Code ID (3 digits hex) + Serving Cell BSIC(2 digits decimal)"), - LAT("(-\\d{2}.\\d+);", "Latitude (+/-xx.xxxxxx)"), - LON("(-\\d{3}.\\d+);", "Longitude (+/-xxx.xxxxxx)"), + LAT("([-\\+]\\d{2}.\\d+);", "Latitude (+/-xx.xxxxxx)"), + LON("([-\\+]\\d{3}.\\d+);", "Longitude (+/-xxx.xxxxxx)"), SPD("(\\d{3}.\\d{3});","Speed in km/h - This value returns to 0 when it is over than 200,000Km"), CRS("(\\d{3}.\\d{2});", "Course over ground in degree"), SATT("(\\d+);", "Number of satellites"), |