forked from xiaozhi/xiaozhi-esp32
shorter message to display on small LCD
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user