From c0a472466cd8e8e1fa66354b8d8e3fabce758765 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期三, 28 八月 2024 15:30:24 +0800 Subject: [PATCH] Merge branch '安邦测距手环' of http://47.108.70.204:60062/r/ChinaUWBProject into 安邦测距手环 --- keil/include/drivers/global_param.h | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/keil/include/drivers/global_param.h b/keil/include/drivers/global_param.h index 592a309..e842940 100644 --- a/keil/include/drivers/global_param.h +++ b/keil/include/drivers/global_param.h @@ -26,12 +26,18 @@ #define PAIR_ID 0xD //小于多少距离报警 #define BIND_DEV_ID 0xD //绑定的设备ID #define HEARTBEAT 0xE -#define SEND_4G_FREQUENCY 0xE //4G上报频率 +#define SEND_4G_SECOND 0xE //4G上报频率 #define MODBUS_MODE 0xF #define QUIT_SLOT_TIME 5 #define MOTOR_ONTIME_INDEX 0x10 -#define MOTORBEEPER_INDEX 0x11 + +#define TCP_IP_0 0x11 +#define TCP_IP_1 0x12 +#define TCP_IP_2 0x13 +#define TCP_IP_3 0x14 +#define TCP_PORT 0x15 + #define NEARBASE_ID1 0x11 #define NEARBASE_ID2 0x12 #define NEARBASE_ID3 0x13 @@ -45,9 +51,9 @@ #define POWER 0x1B #define IMU_THRES 0x1C -#define NOMOVESLEEP_TIME 0x1D -#define MOTOR_ENABLE 0x1E -#define IMU_ENABLE 0x1F +#define NOMOVESLEEP_TIME 0x1D +#define MOTOR_ENABLE 0x1E +#define IMU_ENABLE 0x1F #define REMOTEPARA_STATE 0x20 #define IMU_DUARTION 0x21 #define ACTIVE_INDEX 0x22 @@ -58,11 +64,7 @@ #define CNT_REBOOT 0x31 #define CNT_UPDATE 0x32 -#define TCP_IP_0 0x39 -#define TCP_IP_1 0x3a -#define TCP_IP_2 0x3b -#define TCP_IP_3 0x3c -#define TCP_PORT 0x3d + /*------------END Map Definition-------------------*/ -- Gitblit v1.9.3