Browse Source

0.8.123

* fix ESP8266 static IP #1643 #1608
* update MqTT library which enhances stability
pull/1663/head
lumapu 4 months ago
parent
commit
49cb7621be
  1. 2
      scripts/getVersion.py
  2. 4
      src/CHANGES.md
  3. 2
      src/defines.h
  4. 2
      src/network/AhoyWifiEsp8266.h
  5. 2
      src/platformio.ini

2
scripts/getVersion.py

@ -78,7 +78,7 @@ def renameFw(path_define, env):
os.rename("src/.pio/build/" + env + "/firmware.bin", dst + fname)
os.rename("src/.pio/build/" + env + "/firmware.elf.7z", dst + fname[:-3] + "elf.7z")
if env[:5] == "esp32":
if env[:5] == "esp32" or env[:4] == "open":
os.rename("src/.pio/build/" + env + "/bootloader.bin", dst + "bootloader.bin")
os.rename("src/.pio/build/" + env + "/partitions.bin", dst + "partitions.bin")
genOtaBin(dst)

4
src/CHANGES.md

@ -1,5 +1,9 @@
# Development Changes
## 0.8.123 - 2024-05-30
* fix ESP8266 static IP #1643 #1608
* update MqTT library which enhances stability
## 0.8.122 - 2024-05-23
* add button for donwloading coredump (ESP32 variants only)

2
src/defines.h

@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 8
#define VERSION_PATCH 122
#define VERSION_PATCH 123
//-------------------------------------
typedef struct {
uint8_t ch;

2
src/network/AhoyWifiEsp8266.h

@ -71,6 +71,7 @@ class AhoyWifi : public AhoyNetwork {
DBGPRINT(" " + String(bssid[j], HEX));
}
DBGPRINTLN("");
setStaticIp();
WiFi.begin(mConfig->sys.stationSsid, mConfig->sys.stationPwd, 0, &bssid[0]);
mWifiConnecting = true;
break;
@ -84,7 +85,6 @@ class AhoyWifi : public AhoyNetwork {
break;
case NetworkState::CONNECTED:
setStaticIp();
break;
case NetworkState::GOT_IP:

2
src/platformio.ini

@ -29,7 +29,7 @@ lib_deps =
https://github.com/esphome/ESPAsyncWebServer @ ^3.2.0
https://github.com/nRF24/RF24.git#v1.4.8
paulstoffregen/Time @ ^1.6.1
https://github.com/bertmelis/espMqttClient#v1.6.0
https://github.com/bertmelis/espMqttClient#v1.7.0
bblanchon/ArduinoJson @ ^6.21.3
https://github.com/JChristensen/Timezone @ ^1.2.4
olikraus/U8g2 @ ^2.35.9

Loading…
Cancel
Save