zhyinch
2020-04-02 0781da980b9359a5542bacba06b6a60b0508650c
源码/核心板/Src/application/dw_app.h
@@ -48,7 +48,7 @@
#define POLL_TX_TO_RESP_RX_DLY_UUS 150
/* This is the delay from Frame RX timestamp to TX reply timestamp used for calculating/setting the DW1000's delayed TX function. This includes the
 * frame length of approximately 2.66 ms with above configuration. */
#define RESP_RX_TO_FINAL_TX_DLY_UUS 400
#define RESP_RX_TO_FINAL_TX_DLY_UUS 410
/* Receive response timeout. See NOTE 5 below. */
#define RESP_RX_TIMEOUT_UUS 600
@@ -82,7 +82,7 @@
#define DIST_IDX                      10
#define ANCTIMEMS             14
#define ANCTIMEUS             16
#define TAGSLOTPOS                  8
#define TAGSLOTPOS                  7
//Final
#define FINAL_MSG_POLL_TX_TS_IDX 10
#define FINAL_MSG_RESP_RX_TS_IDX 14
@@ -99,7 +99,7 @@
#define BUTTON_IDX                  2
#define SEQUENCE_IDX               3
#define THRESHOLD_CHANGE_MAINBASE_DIST   50
#define THRESHOLD_CHANGE_MAINBASE_DIST   5
extern u8 neartimout_timer;
extern u16 slottime,tyncpoll_time,max_slotpos;
extern u16 poll_timer,tag_timer;