Src/application/dw_app.h
@@ -8,6 +8,7 @@ #include "ADC.h" #include "TrackingDiff.h" #define BASELOST_STOPMOTOR_TIME 5 //BITSTATE #define GOINGSLEEPBIT 1 @@ -29,6 +30,8 @@ #define MIN_ANCHOR_NUM 2 #define SYNC_SEQ_IDX 5 #define REMOTEPARA_LEN 18 #define TOTAL_SLOTNUM 200 #define SLOTTIME_MS 48 #define POLL 0x01 #define RESPONSE 0x02 @@ -43,6 +46,9 @@ #define ANCHOR_ID_IDX 1 #define TAG_ID_IDX 5 #define MESSAGE_TYPE_IDX 9 //新增 #define ANCHOR_SEQ 7 #define ANCHOR_NUM 8 //Poll #define TAGSTATE 7 #define ANC_TYPE_IDX 14