From 92ffaba03621e312b0620f22cd1f184522ee8f3e Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期六, 22 六月 2019 16:21:20 +0800 Subject: [PATCH] 32位ID --- 源码/核心板/Src/application/global_param.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h" index d04d1ab..2438903 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/global_param.h" @@ -9,9 +9,10 @@ /*---------------Map Definition-------------------*/ #define DEV_ROLE 0x10 //该设备是anchor还是tag -#define DEV_ID 0x11 //设备的Id号 -#define COM_INTERVAL 0x12 //通讯间隔 -#define DEV_GROUP_ID 0x13 //通讯组ID +#define DEV_ID_L 0x11 //设备的Id号低8位 +#define DEV_ID_H 0x12 //设备的Id号高8位 +#define COM_INTERVAL 0x13 //通讯间隔 +#define DEV_GROUP_ID 0x14 //通讯组ID #define ALARM_DEV 0x20 //是哪个设备报警 #define ALARM_DISTANCE1 0x21 //小于多少距离报警 -- Gitblit v1.9.3