aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-13 10:19:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-13 10:19:13 +1300
commit0b0236a81c9c3579293f342810867da31ee2a7a2 (patch)
treefece8a51b8e2c816697b4f944e644c0e6d637567 /src/org
parenteadd850a6475c9a600b31ab49c7c0bfb39bfaa4e (diff)
downloadtraccar-server-0b0236a81c9c3579293f342810867da31ee2a7a2.tar.gz
traccar-server-0b0236a81c9c3579293f342810867da31ee2a7a2.tar.bz2
traccar-server-0b0236a81c9c3579293f342810867da31ee2a7a2.zip
Revert changes for arm and disarm commands
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolEncoder.java4
1 files changed, 2 insertions, 2 deletions
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: