From ce4dd5cba076e7ae21faffcc02ab0bf08d1b0949 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期二, 22 八月 2023 16:33:01 +0800 Subject: [PATCH] 修改uwb文件逻辑,方便移植 --- Src/application/dw_app.h | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Src/application/dw_app.h b/Src/application/dw_app.h index a520a79..56ea256 100644 --- a/Src/application/dw_app.h +++ b/Src/application/dw_app.h @@ -45,9 +45,13 @@ #define NEAR_RESPONSE 0x07 #define NEAR_FINAL 0x08 #define SPOLL 0x09 + #define DISCOVERPOLL 0x0A #define DISCOVERRESPONSE 0x0B #define DISCOVERFINAL 0x0C + +#define DISCOVERPOLL2 0x1A + #define POS_MSG 0x15 #define POS_POLL 0x16 @@ -56,11 +60,12 @@ #define REG_POLL 0x10 // #define REG_RESPONSE 0x11 // +#define REG_POLL2 0x20 // //General #define GROUP_ID_IDX 0 #define ANCHOR_ID_IDX 1 #define TAG_ID_IDX 5 -#define MESSAGE_TYPE_IDX 9 +#define MESSAGE_TYPE_IDX 9 #define POLL_USERDATA_IDX 32 #define NEARBASENUM_INDEX 18 #define NEARBASEID_INDEX 19 -- Gitblit v1.9.3