aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-08-13 00:21:31 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-08-13 00:21:31 -0700
commitbdc4c6147d7fe9785d6b3c9290c69665f36202af (patch)
tree0cb3c0874e3aa8987e4f3453a1843876816f4446 /src/main/java/org
parent7c31297adb38d13e88e41e06d32663043c8ec363 (diff)
downloadtrackermap-server-bdc4c6147d7fe9785d6b3c9290c69665f36202af.tar.gz
trackermap-server-bdc4c6147d7fe9785d6b3c9290c69665f36202af.tar.bz2
trackermap-server-bdc4c6147d7fe9785d6b3c9290c69665f36202af.zip
Support Farnear protocol
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/GotopProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/GotopProtocolDecoder.java b/src/main/java/org/traccar/protocol/GotopProtocolDecoder.java
index 2ef975fe5..a867451aa 100644
--- a/src/main/java/org/traccar/protocol/GotopProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GotopProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 - 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2013 - 2019 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ public class GotopProtocolDecoder extends BaseProtocolDecoder {
.number("DATE:(dd)(dd)(dd),") // date (yyddmm)
.number("TIME:(dd)(dd)(dd),") // time (hhmmss)
.number("LAT:(d+.d+)([NS]),") // latitude
- .number("LOT:(d+.d+)([EW]),") // longitude
+ .number("LO[NT]:(d+.d+)([EW]),") // longitude
.text("Speed:").number("(d+.d+),") // speed
.expression("([^,]+),") // status
.number("(d+)?") // course