aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-15 09:08:57 -0400
committerLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-15 09:08:57 -0400
commit704decd15f70a0251675041826c472b7326ae40c (patch)
treeceeedf2dda727299cac8ab2614bb5f5a365f4fbf
parenta946618d649cde478d8750bb6b84cb521b68c87c (diff)
downloadtraccar-server-704decd15f70a0251675041826c472b7326ae40c.tar.gz
traccar-server-704decd15f70a0251675041826c472b7326ae40c.tar.bz2
traccar-server-704decd15f70a0251675041826c472b7326ae40c.zip
Correction of CELL regex pattern
-rw-r--r--src/org/traccar/protocol/ST210ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/ST210ProtocolDecoder.java b/src/org/traccar/protocol/ST210ProtocolDecoder.java
index f503fead6..61dcf8782 100644
--- a/src/org/traccar/protocol/ST210ProtocolDecoder.java
+++ b/src/org/traccar/protocol/ST210ProtocolDecoder.java
@@ -33,7 +33,7 @@ public class ST210ProtocolDecoder extends GenericProtocolDecoder {
SW_VER("(\\d{3});", "Software Release Version"),
DATE("(\\d+);","GPS date (yyyymmdd) Year + Month + Day"),
TIME("(\\d{2}:\\d{2}:\\d{2});","GPS time (hh:mm:ss) Hour : Minute : Second"),
- CELL("(\\d{2}\\w\\d{2});","Location Code ID (3 digits hex) + Serving Cell BSIC(2 digits decimal)"),
+ CELL("(\\w{3}\\d{2});","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)"),
SPD("(\\d{3}.\\d{3});","Speed in km/h - This value returns to 0 when it is over than 200,000Km"),