From 56900ed5464e7cf4215052c706e8c22b00147e4a Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期三, 16 八月 2023 09:08:54 +0800
Subject: [PATCH] 代码排序后

---
 源码/核心板/Src/application/dw_app.h |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.h"
index aa1f77d..8ffca5b 100644
--- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.h"
+++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.h"
@@ -26,6 +26,7 @@
 //#define TAG_OUTPUT
 #define HEX_OUTPUT
 
+#define MAXUSERDATALEN  55
 #define ANCHORTYPE_NUM   5
 #define MAX_NEARBASE_NUM 12
 #define MAX_RFPOWER   67
@@ -79,6 +80,12 @@
 #define NEAR_FINAL   					0x08
 #define SPOLL     							0x09
 #define DISCOVERPOLL     							0x0a
+#define DISCOVERFINAL     							0x0c
+
+#define POS_MSG   						0x15
+#define POS_POLL   					    0x16
+#define POS_RESPONSE   			        0x17
+#define POS_FINAL   					0x18
 
 #define REG_POLL   						0x10
 #define REG_RESPONSE   				0x11
@@ -99,7 +106,7 @@
 #define REMOTEPARA_INDEX            22
 #define MAXRANGE_DISTANCE           22
 #define ANC_SIGNALPOWER             24
-
+#define TAGPOS_INDEX      26
 #define TAGSLOTPOS						7
 //Final
 #define TAGCONFIGSUCCESS_INDEX 7
@@ -157,4 +164,5 @@
 void TagListUpdate(void);
 void SyncPoll(u8 sync_seq);
 u8 GetRandomSlotPos(uint32_t emptyslot);
+u16 CmpTagInList(u16 tagid);
 #endif

--
Gitblit v1.9.3