Change LCD display layout from grids to layers (#1438)

* Upgrade component version

* update fonts component version

* change lcd display layout from grids to layers

* Update English README as default

* Handle OTA error code
This commit is contained in:
Xiaoxia
2025-11-17 22:38:31 +08:00
committed by GitHub
parent 764f6e3349
commit 511349a7bd
18 changed files with 630 additions and 495 deletions

View File

@@ -131,7 +131,7 @@ bool MqttProtocol::StartMqttClient(bool report_error) {
broker_address = endpoint;
}
if (!mqtt_->Connect(broker_address, broker_port, client_id, username, password)) {
ESP_LOGE(TAG, "Failed to connect to endpoint");
ESP_LOGE(TAG, "Failed to connect to endpoint, code=%d", mqtt_->GetLastError());
SetError(Lang::Strings::SERVER_NOT_CONNECTED);
return false;
}

View File

@@ -173,7 +173,7 @@ bool WebsocketProtocol::OpenAudioChannel() {
ESP_LOGI(TAG, "Connecting to websocket server: %s with version: %d", url.c_str(), version_);
if (!websocket_->Connect(url.c_str())) {
ESP_LOGE(TAG, "Failed to connect to websocket server");
ESP_LOGE(TAG, "Failed to connect to websocket server, code=%d", websocket_->GetLastError());
SetError(Lang::Strings::SERVER_NOT_CONNECTED);
return false;
}