From 14de918a79943e4961b09fa01ed320c6cad41f2e Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 28 六月 2023 17:14:51 +0800
Subject: [PATCH] Revert "Revert "Merge branch 'hxb' into wjc""

---
 HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/zigbee/config/ZigBee.java |   88 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 88 insertions(+), 0 deletions(-)

diff --git a/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/zigbee/config/ZigBee.java b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/zigbee/config/ZigBee.java
new file mode 100644
index 0000000..b4426de
--- /dev/null
+++ b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/zigbee/config/ZigBee.java
@@ -0,0 +1,88 @@
+package com.hdl.sdk.link.zigbee.config;
+
+import androidx.annotation.IntDef;
+import androidx.annotation.StringDef;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * Created by jlchen on 12/16/21.
+ * ZigBee鍘熺敓鍗忚鎺у埗鐮佺浉鍏�
+ */
+public class ZigBee {
+
+
+
+//    /**
+//     * 涓婚
+//     */
+//    @StringDef({})
+//    @Retention(RetentionPolicy.SOURCE)
+//    public @interface TopicType {
+//        //鍙戦�佹寚浠ゅ埌缃戝叧杩涜瀹氫綅(缃戝叧LED闂儊璇嗗埆)
+//        String GwLinuxLocate = "GwLinuxLocate";
+//        //璁惧鍒楄〃-鑾峰彇鏈湴缃戝叧璁惧 EPDeviceId 鍒楄〃
+//        String GetDeviceInfo = "GetDeviceInfo";
+//        //鑾峰彇鍏ョ綉璁惧
+//        String SearchNewDevice = "SearchNewDevice";
+//        //淇敼璁惧绔彛锛堟寜閿級鍚嶇О
+//        String DeviceRename = "DeviceRename";
+//        //璁惧鍒楄〃-璁惧鍒犻櫎锛堜娇璁惧绂荤綉锛�
+//        String RemoveDevice = "RemoveDevice";
+//        //璁惧鎺у埗-鏃� Id-3-identify 瀹氫綅鍔熻兘
+//        String Identify = "Identify";
+//        //瀵圭鐐瑰洖璺澶囧姛鑳界被鍨嬭繘琛岃缃�
+//        String SetEPDeviceFunctionType = "Device/SetEPDeviceFunctionType";
+//
+//    }
+
+    /**
+     * 鍥炲涓婚
+     */
+    @StringDef({})
+    @Retention(RetentionPolicy.SOURCE)
+    public @interface ReplyTopicType {
+        //鍙戦�佹寚浠ゅ埌缃戝叧杩涜瀹氫綅(缃戝叧LED闂儊璇嗗埆)
+        String GwLinuxLocate = "GwLinuxLocate_Respon";
+        //璁惧鍒楄〃-鑾峰彇鏈湴缃戝叧璁惧 EPDeviceId 鍒楄〃
+        String GetDeviceInfo = "DeviceInfoRespon";
+        //鑾峰彇鍏ョ綉璁惧
+        String SearchNewDevice = "Device/SearchNewDevice";
+        //淇敼璁惧绔彛锛堟寜閿級鍚嶇О
+        String DeviceRename = "DeviceRenameRespon";
+        //璁惧鍒楄〃-璁惧鍒犻櫎锛堜娇璁惧绂荤綉锛�
+        String RemoveDevice = "RemoveDeviceRespon";
+        //璁惧鎺у埗-鏃� Id-3-identify 瀹氫綅鍔熻兘
+        String Identify = "Identify";
+        //瀵圭鐐瑰洖璺澶囧姛鑳界被鍨嬭繘琛岃缃�
+        String SetEPDeviceFunctionType = "Device/SetEPDeviceFunctionType";
+        //鏂拌澶囧叆缃�
+        String DeviceInComingRespon = "DeviceInComingRespon";
+        //璁剧疆鍏ョ綉娴佺▼鏂瑰紡
+        String SetJoiningModeRespon = "SetJoiningMode_Respon";
+
+    }
+
+    /**
+     * 鎺у埗鐮�
+     */
+    @IntDef({CommandType.SearchNewDevice})
+    @Retention(RetentionPolicy.SOURCE)
+    public @interface CommandType {
+        //鍙戦�佹寚浠ゅ埌缃戝叧杩涜瀹氫綅(缃戝叧LED闂儊璇嗗埆)
+        int GwLinuxLocate = 85;
+        //璁惧鍒楄〃-鑾峰彇鏈湴缃戝叧璁惧 EPDeviceId 鍒楄〃
+        int GetDeviceInfo = 93;
+        //鑾峰彇鍏ョ綉璁惧
+        int SearchNewDevice = 94;
+        //淇敼璁惧绔彛锛堟寜閿級鍚嶇О
+        int DeviceRename = 96;
+        //璁惧鍒楄〃-璁惧鍒犻櫎锛堜娇璁惧绂荤綉锛�
+        int RemoveDevice =  99;
+        //瀵圭鐐瑰洖璺澶囧姛鑳界被鍨嬭繘琛岃缃�
+        int SetEPDeviceFunctionType = 110;
+
+    }
+
+}

--
Gitblit v1.8.0