forked from xiaozhi/xiaozhi-esp32
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user