shorter message to display on small LCD

This commit is contained in:
Terrence
2025-02-17 00:56:40 +08:00
parent 3a71c1e895
commit 9ec5f2f908
2 changed files with 4 additions and 3 deletions

View File

@@ -45,10 +45,11 @@ void WifiBoard::EnterWifiConfigMode() {
wifi_ap.Start();
// 显示 WiFi 配置 AP 的 SSID 和 Web 服务器 URL
std::string hint = "请在手机连接热点 ";
std::string hint = "手机连接热点 ";
hint += wifi_ap.GetSsid();
hint += ",然后打开浏览器访问 ";
hint += "\n浏览器访问 ";
hint += wifi_ap.GetWebServerUrl();
hint += "\n\n";
// 播报配置 WiFi 的提示
application.Alert("配网模式", hint, "", std::string(p3_wificonfig_start, p3_wificonfig_end - p3_wificonfig_start));

View File

@@ -7,7 +7,7 @@ dependencies:
espressif/esp_lcd_spd2010: "==1.0.2"
espressif/esp_io_expander_tca9554: "==2.0.0"
78/esp_lcd_nv3023: "~1.0.0"
78/esp-wifi-connect: "==2.1.0"
78/esp-wifi-connect: "~2.2.1"
78/esp-opus-encoder: "~2.1.0"
78/esp-ml307: "~1.7.2"
78/xiaozhi-fonts: "~1.3.2"