Skip to content

Commit

Permalink
Revert "Go back to Arduino Core 2.7.4 release as a potential workarou…
Browse files Browse the repository at this point in the history
…nd for stalling OTA downloads"

This reverts commit b2e4d26.
  • Loading branch information
Phaze-III committed Apr 2, 2024
1 parent cf0d533 commit a6885be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions airrohr-firmware/airrohr-firmware.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1703,8 +1703,7 @@ static void sendHttpRedirect() {
default_ip_third_octet,
default_ip_fourth_octet);

//String defaultAddress = F("http://") + defaultIP.toString() + F("/config");
String defaultAddress = F("http://192.168.4.1/config");
String defaultAddress = F("http://") + defaultIP.toString() + F("/config");
server.sendHeader(F("Location"), defaultAddress);
server.send(302, FPSTR(TXT_CONTENT_TYPE_TEXT_HTML), emptyString);
}
Expand Down Expand Up @@ -3227,7 +3226,7 @@ static WiFiClient *getNewLoggerWiFiClient(const LoggerEntry logger)
#if defined(ESP8266)
static_cast<WiFiClientSecure *>(_client)->setSession(loggerConfigs[logger].session);
static_cast<WiFiClientSecure *>(_client)->setBufferSizes(1024, TCP_MSS > 1024 ? 2048 : 1024);
//static_cast<WiFiClientSecure *>(_client)->setSSLVersion(BR_TLS12, BR_TLS12);
static_cast<WiFiClientSecure *>(_client)->setSSLVersion(BR_TLS12, BR_TLS12);
switch (logger)
{
case Loggeraircms:
Expand Down Expand Up @@ -6305,7 +6304,6 @@ void setup(void)
esp_chipid += String((uint32_t)chipid_num, HEX);
#endif
cfg::initNonTrivials(esp_chipid.c_str());
WiFi.persistent(false);

debug_outln_info(F("airRohr: " SOFTWARE_VERSION_STR "/"), String(CURRENT_LANG));

Expand Down
4 changes: 2 additions & 2 deletions airrohr-firmware/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ lib_deps_esp8266 = ${common.lib_deps_esp8266_platform} ${common.lib_deps_externa
lib_deps_esp32 = ${common.lib_deps_esp32_platform} ${common.lib_deps_external}

extra_scripts = platformio_script.py
# This release is reflecting the Arduino Core 2.7.4 release
# This release is reflecting the Arduino Core 3.0.1 release
# When the requirement for Arduino Core is raised, this
# needs to be adjusted to the matching version from
# https://github.com/platformio/platform-espressif8266/releases
platform_version = espressif8266@2.6.2
platform_version = espressif8266@3.1.0
platform_version_esp32 = [email protected] ; using Arduino core 1.0.4

[DISABLEDenv:lolin_d32_pro_debug]
Expand Down

0 comments on commit a6885be

Please sign in to comment.