diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-18 09:44:34 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-18 09:44:34 +1200 |
commit | 862dc806ef915d179a305622a10bc7fd2812363b (patch) | |
tree | 6aa03c99b632013660ffaef469ff35d555d8ff05 /src/org/traccar/protocol | |
parent | f804916f5842da7150651aa83a58633c02de9523 (diff) | |
download | trackermap-server-862dc806ef915d179a305622a10bc7fd2812363b.tar.gz trackermap-server-862dc806ef915d179a305622a10bc7fd2812363b.tar.bz2 trackermap-server-862dc806ef915d179a305622a10bc7fd2812363b.zip |
Fix GPS103 commands (fix #1345)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolEncoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolEncoder.java b/src/org/traccar/protocol/Gps103ProtocolEncoder.java index 50a15350a..db4bbc832 100644 --- a/src/org/traccar/protocol/Gps103ProtocolEncoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolEncoder.java @@ -48,7 +48,7 @@ public class Gps103ProtocolEncoder extends StringProtocolEncoder implements Stri case Command.TYPE_POSITION_PERIODIC: return formatCommand(command, "**,imei:{%s},C,{%s}", this, Command.KEY_UNIQUE_ID, Command.KEY_FREQUENCY); case Command.TYPE_ENGINE_STOP: - return formatCommand(command, "**,imei:{%s},J;", Command.KEY_UNIQUE_ID); + return formatCommand(command, "**,imei:{%s},J", Command.KEY_UNIQUE_ID); case Command.TYPE_ENGINE_RESUME: return formatCommand(command, "**,imei:{%s},K", Command.KEY_UNIQUE_ID); case Command.TYPE_ALARM_ARM: |