aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-27 20:05:05 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-27 20:05:05 -0700
commitc68e92043cb52f859de724781f2e5774c60d465b (patch)
tree90854306ce71f69bd951c84bf10d2dd6f050461d /src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
parent1d1fc57b3dd44013bd467a825b970ac06749e125 (diff)
downloadtrackermap-server-c68e92043cb52f859de724781f2e5774c60d465b.tar.gz
trackermap-server-c68e92043cb52f859de724781f2e5774c60d465b.tar.bz2
trackermap-server-c68e92043cb52f859de724781f2e5774c60d465b.zip
Add HuaSheng output control
Diffstat (limited to 'src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
index 993e36978..2d952c759 100644
--- a/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
@@ -50,6 +50,8 @@ public class HuaShengProtocolDecoder extends BaseProtocolDecoder {
public static final int MSG_HSO_RSP = 0x0003;
public static final int MSG_SET_REQ = 0xAA04;
public static final int MSG_SET_RSP = 0xFF05;
+ public static final int MSG_CTRL_REQ = 0xAA16;
+ public static final int MSG_CTRL_RSP = 0xFF17;
private void sendResponse(Channel channel, int type, int index, ByteBuf content) {
if (channel != null) {