From 18fe9f79aa8511e8a86821922a8f33363dabd527 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 07 八月 2025 17:48:25 +0800 Subject: [PATCH] 2.89,改为时间片间隔8ms 125个片 25个标签 5hz最多,去掉dispoll regpoll 防撞3是写实时间片 临近基站2是主基站id --- Src/application/dw_app.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Src/application/dw_app.h b/Src/application/dw_app.h index 33e73bf..e9447bf 100644 --- a/Src/application/dw_app.h +++ b/Src/application/dw_app.h @@ -17,9 +17,9 @@ #define DEFAULT_RFPOWER 30 #define REGISTER_FREQUENCY 1 #define HEX_OUTPUT -#define TOTAL_SLOTNUM 200 -#define SLOTTIME_MS 48 -#define SLOT_SCALE 0.55 +#define TOTAL_SLOTNUM 125 +#define SLOTTIME_MS 80 +#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 -- Gitblit v1.9.3