From c3d98bdc3ab2e777007a0d33597f01a36433c65f Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 12 十月 2023 16:48:32 +0800 Subject: [PATCH] 2.73,修复dispoll只能扫到一个基站的bug 6.5G --- Src/application/dw_app.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Src/application/dw_app.h b/Src/application/dw_app.h index a1ba38a..64b701c 100644 --- a/Src/application/dw_app.h +++ b/Src/application/dw_app.h @@ -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