yincheng.zhong
2023-08-16 56900ed5464e7cf4215052c706e8c22b00147e4a
源码/核心板/Src/application/dw_app.h
@@ -26,6 +26,7 @@
//#define TAG_OUTPUT
#define HEX_OUTPUT
#define MAXUSERDATALEN  55
#define ANCHORTYPE_NUM   5
#define MAX_NEARBASE_NUM 12
#define MAX_RFPOWER   67
@@ -79,6 +80,12 @@
#define NEAR_FINAL                  0x08
#define SPOLL                          0x09
#define DISCOVERPOLL                          0x0a
#define DISCOVERFINAL                          0x0c
#define POS_MSG                     0x15
#define POS_POLL                      0x16
#define POS_RESPONSE                    0x17
#define POS_FINAL                  0x18
#define REG_POLL                     0x10
#define REG_RESPONSE               0x11
@@ -99,7 +106,7 @@
#define REMOTEPARA_INDEX            22
#define MAXRANGE_DISTANCE           22
#define ANC_SIGNALPOWER             24
#define TAGPOS_INDEX      26
#define TAGSLOTPOS                  7
//Final
#define TAGCONFIGSUCCESS_INDEX 7
@@ -157,4 +164,5 @@
void TagListUpdate(void);
void SyncPoll(u8 sync_seq);
u8 GetRandomSlotPos(uint32_t emptyslot);
u16 CmpTagInList(u16 tagid);
#endif