diff options
Diffstat (limited to 'src/org/traccar/protocol/TotemProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/TotemProtocolDecoder.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/TotemProtocolDecoder.java b/src/org/traccar/protocol/TotemProtocolDecoder.java index e5096c675..6ab2f1a27 100644 --- a/src/org/traccar/protocol/TotemProtocolDecoder.java +++ b/src/org/traccar/protocol/TotemProtocolDecoder.java @@ -114,10 +114,8 @@ public class TotemProtocolDecoder extends BaseProtocolDecoder { .num("(ddd)") // speed .num("(dd.d)") // pdop .num("(d{7})") // odometer - .num("(dd)(dd.dddd)") // latitude - .xpr("([NS])") - .num("(ddd)(dd.dddd)") // longitude - .xpr("([EW])") + .num("(dd)(dd.dddd)([NS])") // latitude + .num("(ddd)(dd.dddd)([EW])") // longitude .num("dddd") // serial number .num("xxxx") // checksum .any() |