From 2671208ff2eb0ecd022919a2a38d4540b0e90961 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 16 五月 2025 11:15:02 +0800 Subject: [PATCH] 成功与免布线基站稳定测距和上位机交互版本 --- keil/include/drivers/global_param.h | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/keil/include/drivers/global_param.h b/keil/include/drivers/global_param.h index 4cd8908..a48b200 100644 --- a/keil/include/drivers/global_param.h +++ b/keil/include/drivers/global_param.h @@ -12,7 +12,7 @@ #define VERSION 0x1 #define DEV_ID 0x2 //设备的Id #define COM_INTERVAL 0x3 //通讯间隔 -//#define OFFSET_AS_URT_TAG 0x3 //车载校准距离 +#define OFFSET_AS_TAG 0x3 #define MAX_REPORT_ANC_NUM 0x4 //单次通讯基站上限 #define GROUP_ID 0x5 //单次通讯基站下限 @@ -30,6 +30,13 @@ #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 ALARM_DISTANCE3 + #define NEARBASE_ID1 0x11 #define NEARBASE_ID2 0x12 #define NEARBASE_ID3 0x13 @@ -39,6 +46,7 @@ #define NEARBASE_ID7 0x17 #define NEARBASE_ID8 0x18 #define NEARBASE_ID9 0x19 +#define LOG_4G_ENABLE 0x19 #define NEARBASE_ID10 0x1a #define POWER 0x1B @@ -51,7 +59,9 @@ #define ACTIVE_INDEX 0x22 #define UWB_ACTIVE_FLAG_IDX 0x23 #define HEIGHTOFFEST_INDEX 0x28 - +#define UWB_RNAGE_TIME 0xA +#define UWB_WAIT_TIME 0xB +#define SEND_4G_SECOND 0x1B //4G上报频率 #define CNT_RESTART 0x30 #define CNT_REBOOT 0x31 #define CNT_UPDATE 0x32 -- Gitblit v1.9.3