| | |
| | | #define TAG_NUM_IN_SYS 256 |
| | | #define DFT_RAND_DLY_TIM_MS 1 |
| | | #define QUIT_SLOT_TIME 5 |
| | | #define KEEP_TIMES 10 |
| | | |
| | | #define RNG_DELAY_MS 100 |
| | | |
| | |
| | | #define DIST_IDX 10 |
| | | #define ANCTIMEMS 14 |
| | | #define ANCTIMEUS 16 |
| | | #define MAINBASE_INDEX 18 |
| | | |
| | | #define TAGSLOTPOS 7 |
| | | //Final |
| | | #define FINAL_MSG_POLL_TX_TS_IDX 10 |
| | |
| | | #define ANCHOR_ID_IDX 1 |
| | | #define SYNC_SEQ_IDX 5 |
| | | //NEAR MSG |
| | | #define NEARMSG_EMPTYSLOTPOS_INDEX 1 //RESPONSE |
| | | #define NEARBASENUM_INDEX 10 |
| | | #define NEARBASEID_INDEX 11 |
| | | //NEAR POLL |
| | |
| | | extern uint32_t g_UWB_com_interval; |
| | | extern float dis_after_filter; |
| | | extern LPFilter_Frac* p_Dis_Filter; //æµè·ç¨çä½éæ»¤æ³¢å¨ |
| | | extern u8 usart_send[100],usart_send_anc[100]; |
| | | extern u8 usart_send[100],usart_send_anc[100],flag_syncbase; |
| | | |
| | | void IdleTask(void); |
| | | uint16_t Checksum_u16(uint8_t* pdata, uint32_t len); |