aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GpsMarkerProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 11:56:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 11:56:32 +1300
commit8598581c0bdfc7e5ca842da7363e107232943849 (patch)
treeb152efa0e56cf2f116db7d0a6a198e9ae8c5b645 /src/org/traccar/protocol/GpsMarkerProtocolDecoder.java
parent3b3f7dddcb9a7ac43651cacc7cf05247a4f7d82b (diff)
downloadtrackermap-server-8598581c0bdfc7e5ca842da7363e107232943849.tar.gz
trackermap-server-8598581c0bdfc7e5ca842da7363e107232943849.tar.bz2
trackermap-server-8598581c0bdfc7e5ca842da7363e107232943849.zip
Refactor Haicom protocol decoder
Diffstat (limited to 'src/org/traccar/protocol/GpsMarkerProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/GpsMarkerProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/GpsMarkerProtocolDecoder.java b/src/org/traccar/protocol/GpsMarkerProtocolDecoder.java
index e0f8d529e..9313ad099 100644
--- a/src/org/traccar/protocol/GpsMarkerProtocolDecoder.java
+++ b/src/org/traccar/protocol/GpsMarkerProtocolDecoder.java
@@ -38,9 +38,9 @@ public class GpsMarkerProtocolDecoder extends BaseProtocolDecoder {
.number("(d{15})") // imei
.number("T(dd)(dd)(dd)") // date
.number("(dd)(dd)(dd)?") // time
- .number("([NS])")
+ .expression("([NS])")
.number("(dd)(dd)(dddd)") // latitude
- .number("([EW])")
+ .expression("([EW])")
.number("(ddd)(dd)(dddd)") // longitude
.number("(ddd)") // speed
.number("(ddd)") // course