From 3a40c92e09584e3dde2c8d73a43acc29bb1f07cf Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 27 三月 2025 18:05:50 +0800 Subject: [PATCH] 1.5,完善ota升级 --- keil/include/drivers/global_param.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/keil/include/drivers/global_param.h b/keil/include/drivers/global_param.h index 49afb81..f1339a7 100644 --- a/keil/include/drivers/global_param.h +++ b/keil/include/drivers/global_param.h @@ -46,6 +46,7 @@ #define NEARBASE_ID9 0x19 #define LOG_4G_ENABLE 0x19 #define NEARBASE_ID10 0x1a +#define OTA_FLAG 0x1a #define UWB_RNAGE_TIME 0xA #define UWB_WAIT_TIME 0xB #define SEND_4G_SECOND 0x1B //4G上报频率 @@ -81,7 +82,12 @@ #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 QXWZ_APPKEY_INDEX 0x100 #define QXWZ_APPSECRET_INDEX 0x110 #define QXWZ_DEVTYPE_INDEX 0x120 -- Gitblit v1.9.3