keil/dw_app_anchor.h
@@ -21,6 +21,8 @@
#define WG_SYNC_RESERVE_IDX 13//保留 4个字节
#define ANC_MAX_NUM 50
#define LORA_MSGTYPE_SYNC               1//网关下发给基站的同步信息
#define LORA_MSGTYPE_CFGRSP             2//基站回复给网关配置读取信息
#define LORA_MSGTYPE_UPDATE_CONFIRM     3//基站回复给网关升级确认信息
@@ -56,6 +58,28 @@
#define MUQIAN_BAG                  6
#define DATA_IDX                    8
#define ONE_BAG_DAXIAO 100
#define POLL                          0x01
#define RESPONSE                      0x02
#define FINAL                        0x03
#define SYNC                           0x04
#define NEAR_MSG                     0x05
#define NEAR_POLL                  0x06
#define NEAR_RESPONSE            0x07
#define NEAR_FINAL                  0x08
#define SPOLL                          0x09
#define DISCOVERPOLL                          0x0a
#define DISCOVERPOLL2                          0x1A
#define DISCOVERRESPONSE                        0x0B
#define DISCOVERFIANL                          0x0C
#define REG_POLL                     0x10
#define REG_RESPONSE               0x11
#define REG_POLL2                     0x20
#define POS_MSG                     0x15
#define POS_POLL                      0x16
#define POS_RESPONSE                    0x17
#define POS_FINAL                  0x18
#define MBX_RESPONSE  0x21
#define MBX_POLL                          0x20