From 99bc815e07e39354f51421b77f4012ffd35594d8 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 28 六月 2023 18:03:00 +0800
Subject: [PATCH] 2023年06月28日18:02:58
---
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