diff --git a/applications/main.c b/applications/main.c index 71c77e9..446bd7e 100644 --- a/applications/main.c +++ b/applications/main.c @@ -2,7 +2,7 @@ * @Author: mbw * @Date: 2024-10-23 17:14:16 * @LastEditors: mbw && 1600520629@qq.com - * @LastEditTime: 2025-06-16 17:55:45 + * @LastEditTime: 2025-06-17 08:43:06 * @FilePath: \ble_bjq_ch303rct6_ml307\applications\main.c * @Descrt_thread_ * diff --git a/applications/user_sys.h b/applications/user_sys.h index 81eeb4a..178e7be 100644 --- a/applications/user_sys.h +++ b/applications/user_sys.h @@ -30,13 +30,16 @@ // 正式平台链接 -#define SYS_IOT_URL ("8.130.122.162") -#define SYS_IOT_PORT ("7153") +// #define SYS_IOT_URL ("8.130.122.162") +// #define SYS_IOT_PORT ("7153") -//测试平台链接 +//测试平台链接1 // #define SYS_IOT_URL ("8.130.105.38") // #define SYS_IOT_PORT ("7133") +//测试平台链接2 +#define SYS_IOT_URL ("8.130.105.38") +#define SYS_IOT_PORT ("7163") #define K (8 * 1000) diff --git a/bsp/src/bsp_flash.c b/bsp/src/bsp_flash.c index 15f9e48..5dfc8a8 100644 --- a/bsp/src/bsp_flash.c +++ b/bsp/src/bsp_flash.c @@ -917,7 +917,7 @@ int BSP_Flash_Init (void) Flash_SetProductTimeLimit (2025, 6, 11, 11, 50, 20, kFactoryTimeId); Set_ExpirationTime (MAX_EXPIRATION_DAYS); - Flash_Set_Calibration_State(kNotCalibrated); // 标定状态 + Flash_Set_Calibration_State(kSysGasCalibStatus); // 标定状态 Flash_Set_Valve_Num(0); sci.hw_ver = SYS_HW_VERSION; sci.sw_ver = SYS_SW_VERSION;