aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-09 11:05:31 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-09 11:05:31 +1300
commitbc8a449d384506eac902b76870d7b565f96c05e6 (patch)
tree9e3ead62babc30e0f0311b4e75e6c095072d1e22 /src/org/traccar
parentd5735b6fd11bd94942415342ced3321aa6a16d4f (diff)
downloadtrackermap-server-bc8a449d384506eac902b76870d7b565f96c05e6.tar.gz
trackermap-server-bc8a449d384506eac902b76870d7b565f96c05e6.tar.bz2
trackermap-server-bc8a449d384506eac902b76870d7b565f96c05e6.zip
Update GPS103 arm and disarm commands
Diffstat (limited to 'src/org/traccar')
-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 23942e554..87c2dc06e 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},L", Command.KEY_UNIQUE_ID);
+ return formatCommand(command, "**,imei:{%s},111", Command.KEY_UNIQUE_ID);
case Command.TYPE_ALARM_DISARM:
- return formatCommand(command, "**,imei:{%s},M", Command.KEY_UNIQUE_ID);
+ return formatCommand(command, "**,imei:{%s},112", Command.KEY_UNIQUE_ID);
case Command.TYPE_REQUEST_PHOTO:
return formatCommand(command, "**,imei:{%s},160", Command.KEY_UNIQUE_ID);
default: