From: kyz Date: Wed, 30 Sep 2026 01:29:52 +0000 (+0800) Subject: modify ssid to BXYIBIAOLH_2 X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=yn%2Fboxinlaohua_board.git modify ssid to BXYIBIAOLH_2 --- 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");