aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-03-12 22:13:04 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-03-12 22:13:04 +1300
commitef05289a39c6ffedd123e1a50bbac7857719ea95 (patch)
treecd9cb140f16bafe5b04e29455fd336cf5940fdf6 /src
parentc87fd6136bd6ec7afda1b93d5665881b06a3185a (diff)
downloadtraccar-server-ef05289a39c6ffedd123e1a50bbac7857719ea95.tar.gz
traccar-server-ef05289a39c6ffedd123e1a50bbac7857719ea95.tar.bz2
traccar-server-ef05289a39c6ffedd123e1a50bbac7857719ea95.zip
Add GPS103 unit test
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
index 1c1dbba47..2069634d6 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -51,7 +51,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
"([NS])," +
"(\\d+)(\\d{2}\\.\\d+)," + // Longitude (DDDMM.MMMM)
"([EW])?," +
- "(\\d+\\.?\\d*)?,?" + // Speed
+ "(\\d+\\.?\\d*)?,?" + // Speed
"(\\d+\\.?\\d*)?,?" + // Course
"(\\d+\\.?\\d*)?,?" + // Altitude
"([^,]+)?,?" +