From 75544b683feca0b57fb7d5fa00cbc376dc6e62a5 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期五, 04 七月 2025 18:06:30 +0800 Subject: [PATCH] V1.28 针对东营高精度方案,专网匹配,去掉了4G入网 APN和查询IP的代码。 --- keil/include/drivers/global_param.h | 28 +++++++++++++++++++++++++--- 1 files changed, 25 insertions(+), 3 deletions(-) diff --git a/keil/include/drivers/global_param.h b/keil/include/drivers/global_param.h index 49afb81..b6e2163 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_TAG 0x3 +#define OFFSET_AS_TAG 0x3 #define MAX_REPORT_ANC_NUM 0x4 //单次通讯基站上限 #define GROUP_ID 0x5 //单次通讯基站下限 @@ -35,10 +35,19 @@ #define MOTOR_ONTIME_INDEX 0x10 #define NEARBASE_ID1 0x11 +#define GPSENBLE 0x11 + #define NEARBASE_ID2 0x12 +#define UWBENBLE 0x12 + #define NEARBASE_ID3 0x13 +#define GPSFrequency 0x13 + #define NEARBASE_ID4 0x14 +#define UWBFrequency 0x14 + #define NEARBASE_ID5 0x15 + #define BIND_DEV_ID 0x16//绑定的设备ID #define NEARBASE_ID6 0x16 #define NEARBASE_ID7 0x17 @@ -46,9 +55,12 @@ #define NEARBASE_ID9 0x19 #define LOG_4G_ENABLE 0x19 #define NEARBASE_ID10 0x1a -#define UWB_RNAGE_TIME 0xA +#define OTA_FLAG 0x1a +#define URT_BQ 0x1a + +#define UWB_RNAGE_TIME 0xA #define UWB_WAIT_TIME 0xB -#define SEND_4G_SECOND 0x1B //4G上报频率 +//#define SEND_4G_SECOND 0x1B //4G上报频率 #define POWER 0x1B #define IMU_THRES 0x1C #define NOMOVESLEEP_TIME 0x1D @@ -81,7 +93,17 @@ #define TCP_IP_2 0x3b #define TCP_IP_3 0x3c #define TCP_PORT 0x3d + #define SWNAME_INDEX 0x3e + +#define OTA_URL_CHANGDU 0x3F +#define OTA_URL_INDEX 0x40 +/***************************************************************新增*******************************************************************/ +#define KEY_POWERON 0x42 + + +/***************************************************************新增*******************************************************************/ + #define QXWZ_APPKEY_INDEX 0x100 #define QXWZ_APPSECRET_INDEX 0x110 #define QXWZ_DEVTYPE_INDEX 0x120 -- Gitblit v1.9.3