From 385e42e51f493edb1db7948339a8316634987286 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期三, 28 八月 2024 15:26:41 +0800 Subject: [PATCH] 调各种逻辑 --- keil/include/drivers/global_param.h | 25 ++++++++++++++----------- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git a/keil/include/drivers/global_param.h b/keil/include/drivers/global_param.h index eddccaf..e842940 100644 --- a/keil/include/drivers/global_param.h +++ b/keil/include/drivers/global_param.h @@ -24,13 +24,20 @@ #define ALARM_DISTANCE2 0xB //小于多少距离报警 #define ALARM_DISTANCE3 0xC //小于多少距离报警 #define PAIR_ID 0xD //小于多少距离报警 -#define BIND_DEV_ID 0xD //绑定的设备ID +#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 @@ -44,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 @@ -57,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