aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Xrb28ProtocolEncoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-15 11:24:22 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-15 11:24:22 +1300
commit8023e4e3de6fa791157bdec913abcafb511512c9 (patch)
tree3e5340216dbceaaa5c27a147707847812f62c2b7 /src/org/traccar/protocol/Xrb28ProtocolEncoder.java
parent7de7d81c59eef4a134e313615012a2694a8ca572 (diff)
downloadtrackermap-server-8023e4e3de6fa791157bdec913abcafb511512c9.tar.gz
trackermap-server-8023e4e3de6fa791157bdec913abcafb511512c9.tar.bz2
trackermap-server-8023e4e3de6fa791157bdec913abcafb511512c9.zip
Support new protocol version
Diffstat (limited to 'src/org/traccar/protocol/Xrb28ProtocolEncoder.java')
-rw-r--r--src/org/traccar/protocol/Xrb28ProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Xrb28ProtocolEncoder.java b/src/org/traccar/protocol/Xrb28ProtocolEncoder.java
index af60661fa..617639312 100644
--- a/src/org/traccar/protocol/Xrb28ProtocolEncoder.java
+++ b/src/org/traccar/protocol/Xrb28ProtocolEncoder.java
@@ -22,7 +22,7 @@ import org.traccar.model.Command;
public class Xrb28ProtocolEncoder extends BaseProtocolEncoder {
private String formatCommand(Command command, String content) {
- return String.format("\u00ff\u00ff*HBCS,OM,%s,%s#\n", getUniqueId(command.getDeviceId()), content);
+ return String.format("\u00ff\u00ff*SCOS,OM,%s,%s#\n", getUniqueId(command.getDeviceId()), content);
}
@Override