aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-10-20 13:28:20 -0700
committerGitHub <noreply@github.com>2022-10-20 13:28:20 -0700
commiteef6c34d403fa5bf2ca0ae757792633c36052769 (patch)
tree81fe8550a02b9fb6f4f24ae9c9e2398ac838d7f5 /src
parent73b174094effa2a2c9c3a076b5c244ba832a90c2 (diff)
downloadtrackermap-server-eef6c34d403fa5bf2ca0ae757792633c36052769.tar.gz
trackermap-server-eef6c34d403fa5bf2ca0ae757792633c36052769.tar.bz2
trackermap-server-eef6c34d403fa5bf2ca0ae757792633c36052769.zip
Update GPS103 command (fix #4964)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/Gps103ProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Gps103ProtocolEncoder.java b/src/main/java/org/traccar/protocol/Gps103ProtocolEncoder.java
index e662e9b04..9a899eeeb 100644
--- a/src/main/java/org/traccar/protocol/Gps103ProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/Gps103ProtocolEncoder.java
@@ -49,7 +49,7 @@ public class Gps103ProtocolEncoder extends StringProtocolEncoder implements Stri
case Command.TYPE_CUSTOM:
return formatCommand(command, "**,imei:%s,%s", Command.KEY_UNIQUE_ID, Command.KEY_DATA);
case Command.TYPE_POSITION_STOP:
- return formatCommand(command, "**,imei:%s,A", Command.KEY_UNIQUE_ID);
+ return formatCommand(command, "**,imei:%s,D", Command.KEY_UNIQUE_ID);
case Command.TYPE_POSITION_SINGLE:
return formatCommand(command, "**,imei:%s,B", Command.KEY_UNIQUE_ID);
case Command.TYPE_POSITION_PERIODIC: