From a2383bbec3563bf0e296f4d8a1c6df46560e104a Mon Sep 17 00:00:00 2001 From: kyz Date: Wed, 30 Sep 2026 09:29:52 +0800 Subject: [PATCH] modify ssid to BXYIBIAOLH_2 --- Aging_app/freertos/inc/main_common.h | 8 +++++++- Aging_app/freertos/src/main.c | 8 ++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Aging_app/freertos/inc/main_common.h b/Aging_app/freertos/inc/main_common.h index 8832e88..8e44c66 100644 --- a/Aging_app/freertos/inc/main_common.h +++ b/Aging_app/freertos/inc/main_common.h @@ -21,7 +21,13 @@ #include "stdio.h" #include "string.h" -#define __DEVICES_ID__ "BXLH06" +#define __DEVICES_ID__ "BXLH88" + +#define AP_SSID_DEFAULT "BXYIBIAOLH_2" +#define AP_PASSWD_DEFAULT "boxin666888" +#define SRV_IP_DEFAULT "47.122.26.54" +#define SRV_PORT_DEFAULT "9190" + #define VER_MAJOR 1 #define VER_MINOR 0 diff --git a/Aging_app/freertos/src/main.c b/Aging_app/freertos/src/main.c index 500c17e..e0f2e2f 100644 --- a/Aging_app/freertos/src/main.c +++ b/Aging_app/freertos/src/main.c @@ -120,10 +120,10 @@ void main() //ĬÈÏÖµ strcpy( g_devinfo.serial, __DEVICES_ID__); - strcpy( g_netcfg.ssid, "BXYIBIAOLH"); - strcpy( g_netcfg.password, "boxin666888"); - strcpy( g_netcfg.srv_ip, "47.122.26.54"); - strcpy( g_netcfg.srv_port, "9190"); + strcpy( g_netcfg.ssid, AP_SSID_DEFAULT ); + strcpy( g_netcfg.password, AP_PASSWD_DEFAULT ); + strcpy( g_netcfg.srv_ip, SRV_IP_DEFAULT ); + strcpy( g_netcfg.srv_port, SRV_PORT_DEFAULT ); if( eeprom_init() == 0 ){ RTT_DEBUG_INFO("EEPROM init OK"); -- 2.34.1