From e42b8b0198b06a24f3d80afc726fbfb4f6fdc63d Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期五, 21 六月 2024 10:34:48 +0800
Subject: [PATCH] V2.80 输出基站信号强度,搭配双通道系统定位

---
 Src/application/dw_app.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Src/application/dw_app.h b/Src/application/dw_app.h
index a1ba38a..c0aa66f 100644
--- a/Src/application/dw_app.h
+++ b/Src/application/dw_app.h
@@ -19,7 +19,7 @@
 #define HEX_OUTPUT
 #define TOTAL_SLOTNUM 200
 #define SLOTTIME_MS 48
-#define SLOT_SCALE 0.55
+#define SLOT_SCALE 0.8
 #define MAX_NEARBASE_NUM 12
 #define KEEP_TIMES 3
 
@@ -48,6 +48,7 @@
 #define DISCOVERPOLL     				    0x0A
 #define DISCOVERRESPONSE     				    0x0B
 #define DISCOVERFINAL     				    0x0C
+#define DISCOVERPOLL2     				    0x1A
 
 #define POS_MSG   						0x15
 #define POS_POLL   					    0x16
@@ -56,6 +57,7 @@
 
 #define REG_POLL   						0x10   //
 #define REG_RESPONSE   				0x11   //
+#define REG_POLL2   						0x20   //
 //General
 #define GROUP_ID_IDX   				0
 #define ANCHOR_ID_IDX    			1
@@ -132,7 +134,7 @@
 extern uint32_t g_UWB_com_interval;
 extern float dis_after_filter;
 
-extern uint8_t usart_send[25];
+extern uint8_t usart_send[250];
 
 void IdleTask(void);
 uint16_t Checksum_u16(uint8_t* pdata, uint32_t len);

--
Gitblit v1.9.3