modify ssid to BXYIBIAOLH_2 master
authorkyz <kongyuzhong@google.com>
Wed, 30 Sep 2026 01:29:52 +0000 (09:29 +0800)
committerkyz <kongyuzhong@google.com>
Wed, 30 Sep 2026 01:29:52 +0000 (09:29 +0800)
Aging_app/freertos/inc/main_common.h
Aging_app/freertos/src/main.c

index 8832e8821f2734702cb1c647ce2f65df9255c0f5..8e44c66551663423d3f94136041512f789ac9372 100644 (file)
 #include "stdio.h"
 #include "string.h"
 
 #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
 
 #define VER_MAJOR  1
 #define VER_MINOR  0
 
index 500c17e40d75a4d0f801eb46047b639c8c612114..e0f2e2ff5d636f865a32a528a907138281d83ebb 100644 (file)
@@ -120,10 +120,10 @@ void main()
 
        //ĬÈÏÖµ
        strcpy( g_devinfo.serial, __DEVICES_ID__);
 
        //ĬÈÏÖµ
        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");
 
        if( eeprom_init() == 0 ){
         RTT_DEBUG_INFO("EEPROM init OK");