diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-23 00:51:38 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-23 00:51:38 +1200 |
commit | ebd193d4d5a98f7b53cc229f1c7287d05465b13e (patch) | |
tree | f3f99d7c7ce3f2d008a81b5cf630f5a900ac009f /src/org | |
parent | 10e801928c521456fa54019d878093dc0538de8a (diff) | |
download | trackermap-server-ebd193d4d5a98f7b53cc229f1c7287d05465b13e.tar.gz trackermap-server-ebd193d4d5a98f7b53cc229f1c7287d05465b13e.tar.bz2 trackermap-server-ebd193d4d5a98f7b53cc229f1c7287d05465b13e.zip |
Handle eSky negative coords
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/EskyProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/EskyProtocolDecoder.java b/src/org/traccar/protocol/EskyProtocolDecoder.java index 0d3dcafb2..d524224af 100644 --- a/src/org/traccar/protocol/EskyProtocolDecoder.java +++ b/src/org/traccar/protocol/EskyProtocolDecoder.java @@ -40,8 +40,8 @@ public class EskyProtocolDecoder extends BaseProtocolDecoder { .number("(d+)").text("+") // satellites .number("(dd)(dd)(dd)") // date .number("(dd)(dd)(dd)").text("+") // time - .number("(d+.d+)").text("+") // latitude - .number("(d+.d+)").text("+") // longitude + .number("(-?d+.d+)").text("+") // latitude + .number("(-?d+.d+)").text("+") // longitude .number("(d+.d+)").text("+") // speed .number("(d+)").text("+") // course .text("0x").number("(d+)").text("+") // input |