From 05a5b589fba1a02817acf542e1b29d6cddc8209f Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期五, 06 六月 2025 17:10:46 +0800
Subject: [PATCH] final当2个标签或者4个基站时有丢包,一个标签和3个基站不丢包版本

---
 Src/application/dw_app.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Src/application/dw_app.h b/Src/application/dw_app.h
index 153240b..0f13215 100644
--- a/Src/application/dw_app.h
+++ b/Src/application/dw_app.h
@@ -30,6 +30,8 @@
 #define MIN_ANCHOR_NUM 2
 #define SYNC_SEQ_IDX    			5
 #define REMOTEPARA_LEN 18
+#define TOTAL_SLOTNUM 200
+#define SLOTTIME_MS 48
 
 #define POLL     							0x01
 #define RESPONSE 							0x02
@@ -44,6 +46,9 @@
 #define ANCHOR_ID_IDX    			1
 #define TAG_ID_IDX    				5
 #define MESSAGE_TYPE_IDX 			9	
+//新增
+#define ANCHOR_SEQ       7
+#define ANCHOR_NUM            8
 //Poll
 #define TAGSTATE              7
 #define ANC_TYPE_IDX 					14

--
Gitblit v1.9.3