zhyinch
2020-04-09 1059b6d24c634e20aa8d63412792239b607b4020
Src/application/global_param.h
@@ -8,11 +8,12 @@
#define DEFAULT_DEV_ID      5555      //默认设备ID是5555
/*---------------Map Definition-------------------*/
#define   MAP_SIGN_INDEX         0x0
#define    VERSION                   0x1      
#define    DEV_ID                        0x2      //设备的Id
#define    COM_INTERVAL               0x3      //通讯间隔
#define    MAX_REPORT_ANC_NUM      0x4      //单次通讯基站上限
#define    MIN_REPORT_ANC_NUM      0x5      //单次通讯基站下限
#define    GROUP_ID      0x5      //单次通讯基站下限
#define    DIST_OFFSET                  0x6   
#define    DEV_ROLE                     0x7      //该设备是anchor还是tag   
#define    ANC_POLL                     0x8      //基站主动测距
@@ -37,10 +38,13 @@
#define      NEARBASE_ID9                    0x19
#define      NEARBASE_ID10                   0x1a
#define    POWER           0x25
#define      IMU_THRES                     0x26
#define   NOMOVESLEEP_TIME      0x27
#define   MOTOR_ENABLE          0x28
#define    POWER                 0x1B
#define      IMU_THRES                  0x1C
#define   NOMOVESLEEP_TIME    0x1D
#define   MOTOR_ENABLE        0x1E
#define   IMU_ENABLE          0x1F
#define    FILTER_COEFFICIENT  0x20
#define    CNT_RESTART                  0x30
#define    CNT_REBOOT                  0x31