diff --git a/yoRadio/src/core/config.cpp b/yoRadio/src/core/config.cpp index 845568f..3127bec 100644 --- a/yoRadio/src/core/config.cpp +++ b/yoRadio/src/core/config.cpp @@ -547,7 +547,8 @@ void Config::bootInfo() { BOOTLOG("************************************************"); BOOTLOG("arduino:\t%d", ARDUINO); BOOTLOG("compiler:\t%s", __VERSION__); - BOOTLOG("esp:\t\t%d.%d.%d", ESP_ARDUINO_VERSION_MAJOR, ESP_ARDUINO_VERSION_MINOR, ESP_ARDUINO_VERSION_PATCH); + BOOTLOG("esp32core:\t%d.%d.%d", ESP_ARDUINO_VERSION_MAJOR, ESP_ARDUINO_VERSION_MINOR, ESP_ARDUINO_VERSION_PATCH); + BOOTLOG("esp chip:\tmodel: %s | rev: %d | cores: %d | psram: %d", ESP.getChipModel(), ESP.getChipRevision(), ESP.getChipCores(), ESP.getPsramSize()); BOOTLOG("display:\t%d", DSP_MODEL); if(VS1053_CS==255) { BOOTLOG("audio:\t\t%s (%d, %d, %d)", "I2S", I2S_DOUT, I2S_BCLK, I2S_LRC); diff --git a/yoRadio/src/core/network.cpp b/yoRadio/src/core/network.cpp index bb45ae2..9754d07 100644 --- a/yoRadio/src/core/network.cpp +++ b/yoRadio/src/core/network.cpp @@ -82,6 +82,7 @@ void Network::begin() { } if (WiFi.status() != WL_CONNECTED && ls == startedls) { raiseSoftAP(); + Serial.println("##[BOOT]#\tdone"); return; } if (WiFi.status() == WL_CONNECTED) { @@ -130,7 +131,12 @@ void rebootTime() { void Network::raiseSoftAP() { WiFi.mode(WIFI_AP); WiFi.softAP(apSsid, apPassword); - Serial.printf("\n\nRunning in AP mode.\nConnect to AP %s with password %s for settings.\n\n", apSsid, apPassword); + Serial.println("##[BOOT]#"); + BOOTLOG("************************************************"); + BOOTLOG("Running in AP mode"); + BOOTLOG("Connect to AP %s with password %s", apSsid, apPassword); + BOOTLOG("and go to http:/192.168.4.1/ to configure"); + BOOTLOG("************************************************"); status = SOFT_AP; if(config.store.softapdelay>0) rtimer.once(config.store.softapdelay*60, rebootTime); diff --git a/yoRadio/src/core/options.h b/yoRadio/src/core/options.h index 59ec202..07b422e 100644 --- a/yoRadio/src/core/options.h +++ b/yoRadio/src/core/options.h @@ -1,7 +1,7 @@ #ifndef options_h #define options_h -#define VERSION "0.8.160" +#define VERSION "0.8.165" /******************************************************* DO NOT EDIT THIS FILE. diff --git a/yoRadio/src/core/telnet.cpp b/yoRadio/src/core/telnet.cpp index 5f9ba7a..9843a43 100644 --- a/yoRadio/src/core/telnet.cpp +++ b/yoRadio/src/core/telnet.cpp @@ -18,11 +18,9 @@ bool Telnet::begin() { server.begin(); server.setNoDelay(true); Serial.println("done"); - Serial.println(); - BOOTLOG("************************************************"); - BOOTLOG("Ready! Go to http:/%s/ to configure.", WiFi.localIP().toString().c_str()); - BOOTLOG("************************************************"); - Serial.println(); + Serial.println("##[BOOT]#"); + BOOTLOG("Ready! Go to http:/%s/ to configure", WiFi.localIP().toString().c_str()); + Serial.println("##[BOOT]#"); return true; } else { return false;