diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-29 11:43:46 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-29 11:43:46 +1200 |
commit | ddaaec2660f42ac51cdaaeb030fca92899fee0dc (patch) | |
tree | 1b2820fdbbc1348560e0f14bb84ed7333667d599 /src/org/traccar/protocol | |
parent | a10e925a97cf839a5c30fb7891af12bc111b14c4 (diff) | |
download | trackermap-server-ddaaec2660f42ac51cdaaeb030fca92899fee0dc.tar.gz trackermap-server-ddaaec2660f42ac51cdaaeb030fca92899fee0dc.tar.bz2 trackermap-server-ddaaec2660f42ac51cdaaeb030fca92899fee0dc.zip |
Fix GPS103 command encoder
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolEncoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolEncoder.java b/src/org/traccar/protocol/Gps103ProtocolEncoder.java index 5972ccb59..967914811 100644 --- a/src/org/traccar/protocol/Gps103ProtocolEncoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolEncoder.java @@ -46,9 +46,9 @@ public class Gps103ProtocolEncoder extends StringProtocolEncoder implements Stri case Command.TYPE_POSITION_FIX: return formatCommand(command, "**,{%s},C,{%s};", this, Command.KEY_UNIQUE_ID, Command.KEY_FREQUENCY); case Command.TYPE_ENGINE_STOP: - return formatCommand(command, "**,{%s},K;", Command.KEY_UNIQUE_ID); - case Command.TYPE_ENGINE_RESUME: return formatCommand(command, "**,{%s},J;", Command.KEY_UNIQUE_ID); + case Command.TYPE_ENGINE_RESUME: + return formatCommand(command, "**,{%s},K;", Command.KEY_UNIQUE_ID); } return null; |