From 0b0236a81c9c3579293f342810867da31ee2a7a2 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 13 Jan 2016 10:19:13 +1300 Subject: Revert changes for arm and disarm commands --- src/org/traccar/protocol/Gps103ProtocolEncoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org') diff --git a/src/org/traccar/protocol/Gps103ProtocolEncoder.java b/src/org/traccar/protocol/Gps103ProtocolEncoder.java index 87c2dc06e..23942e554 100644 --- a/src/org/traccar/protocol/Gps103ProtocolEncoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolEncoder.java @@ -54,9 +54,9 @@ public class Gps103ProtocolEncoder extends StringProtocolEncoder implements Stri case Command.TYPE_ENGINE_RESUME: return formatCommand(command, "**,imei:{%s},K", Command.KEY_UNIQUE_ID); case Command.TYPE_ALARM_ARM: - return formatCommand(command, "**,imei:{%s},111", Command.KEY_UNIQUE_ID); + return formatCommand(command, "**,imei:{%s},L", Command.KEY_UNIQUE_ID); case Command.TYPE_ALARM_DISARM: - return formatCommand(command, "**,imei:{%s},112", Command.KEY_UNIQUE_ID); + return formatCommand(command, "**,imei:{%s},M", Command.KEY_UNIQUE_ID); case Command.TYPE_REQUEST_PHOTO: return formatCommand(command, "**,imei:{%s},160", Command.KEY_UNIQUE_ID); default: -- cgit v1.2.3