From 9510cf0760cf50ddeef4b304a2322ceb9560066c Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期三, 24 一月 2024 10:31:52 +0800 Subject: [PATCH] Merge branch '免布线基站-lora' of http://47.108.70.204:60062/r/XRange_Tag into 免布线基站-lora --- Src/application/dw_mbx_anc.h | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Src/application/dw_mbx_anc.h b/Src/application/dw_mbx_anc.h index 8abe45d..05810a2 100644 --- a/Src/application/dw_mbx_anc.h +++ b/Src/application/dw_mbx_anc.h @@ -35,13 +35,18 @@ #define SUBMSGTYPE_IDX 6 //子消息类型IDX #define ANCTAG_DEVICEID_IDX 7 //标签或者基站的设备ID 2个字节 #define WRITEPARA_INDEX_IDX 9 //写入参数的地址IDX -#define WRITEPATE_VALUE_IDX 10 //写入参数的值,2个字节 +#define WRITEPATE_VALUE_IDX 10 //写入参数的值,2个字节 /*在发送升级基站请求时,被替换为要发送的升级文件的大小 #define RESERVE 12 //保留 4个字节 //LORA_MSGTYPE_RANGEPOLL 消息类型格式 #define MSG_TYPE_IDX 0 //LORA MSG TYPE 定义 #define ANC_ID_IDX 1 //基站ID 占用2个字节 +#define WANGGUAN_ID 1 +#define JIZHAN_ID 3 +#define MUQIAN_BAG 5 +#define DATA_IDX 6 + typedef enum{ Next_Poll_RANGE, Next_Poll_LORASYNC, }nextpoll_enum; -- Gitblit v1.9.3