aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-20 21:53:15 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-20 21:53:15 -0700
commitffe4c83b226308932e8a1c1388104c9070a3184b (patch)
treefd277595a917d302c797d7995d2983113c556acc /src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
parent765f1bdbe7418a8808faf578e2dcf1adc6094bc9 (diff)
downloadtrackermap-server-ffe4c83b226308932e8a1c1388104c9070a3184b.tar.gz
trackermap-server-ffe4c83b226308932e8a1c1388104c9070a3184b.tar.bz2
trackermap-server-ffe4c83b226308932e8a1c1388104c9070a3184b.zip
Support HuaSheng commands
Diffstat (limited to 'src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
index 371691d82..993e36978 100644
--- a/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 - 2021 Anton Tananaev (anton@traccar.org)
+ * Copyright 2016 - 2023 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,6 +48,8 @@ public class HuaShengProtocolDecoder extends BaseProtocolDecoder {
public static final int MSG_UPFAULT_RSP = 0xFF13;
public static final int MSG_HSO_REQ = 0x0002;
public static final int MSG_HSO_RSP = 0x0003;
+ public static final int MSG_SET_REQ = 0xAA04;
+ public static final int MSG_SET_RSP = 0xFF05;
private void sendResponse(Channel channel, int type, int index, ByteBuf content) {
if (channel != null) {