| | |
| | | #define HEX_OUTPUT |
| | | #define TOTAL_SLOTNUM 200 |
| | | #define SLOTTIME_MS 48 |
| | | #define SLOT_SCALE 0.55 |
| | | #define SLOT_SCALE 0.8 |
| | | #define MAX_NEARBASE_NUM 12 |
| | | #define KEEP_TIMES 3 |
| | | |
| | |
| | | #define DISCOVERPOLL 0x0A |
| | | #define DISCOVERRESPONSE 0x0B |
| | | #define DISCOVERFINAL 0x0C |
| | | #define DISCOVERPOLL2 0x1A |
| | | |
| | | #define POS_MSG 0x15 |
| | | #define POS_POLL 0x16 |
| | |
| | | |
| | | #define REG_POLL 0x10 // |
| | | #define REG_RESPONSE 0x11 // |
| | | #define REG_POLL2 0x20 // |
| | | //General |
| | | #define GROUP_ID_IDX 0 |
| | | #define ANCHOR_ID_IDX 1 |
| | |
| | | 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); |