diff --git a/Makefile b/Makefile index a89ef8e6..83a947f6 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ load-passthrough: cp passthrough.UF2 $(BOOT_VOLUME) load-nina: - esptool.py --port $(M4_PORT) --before no_reset --baud $(UPLOAD_BAUD) write_flash 0 NINA_W102-1.7.1.bin + esptool.py --port $(M4_PORT) --before no_reset --baud $(UPLOAD_BAUD) write_flash 0 NINA_W102-1.7.2.bin load-circuitpython: cp $(CIRCUITPYTHON_UF2) $(BOOT_VOLUME) diff --git a/arduino/libraries/WiFi/src/WiFiClient.cpp b/arduino/libraries/WiFi/src/WiFiClient.cpp index 9dc06bed..683f8289 100644 --- a/arduino/libraries/WiFi/src/WiFiClient.cpp +++ b/arduino/libraries/WiFi/src/WiFiClient.cpp @@ -177,8 +177,7 @@ void WiFiClient::stop() uint8_t WiFiClient::connected() { if (_socket != -1) { - // use peek to update socket state - peek(); + available(); } return (_socket != -1); diff --git a/combine.py b/combine.py index fcc41adb..56dc55fb 100644 --- a/combine.py +++ b/combine.py @@ -31,7 +31,7 @@ # zero terminate the pem file outputData[0x10000 + len(certsData)] = 0 -outputFilename = "NINA_W102-1.7.1.bin" +outputFilename = "NINA_W102-1.7.2.bin" if (len(sys.argv) > 1): outputFilename = sys.argv[1] diff --git a/main/CommandHandler.cpp b/main/CommandHandler.cpp index 7e253855..a14af438 100644 --- a/main/CommandHandler.cpp +++ b/main/CommandHandler.cpp @@ -28,7 +28,7 @@ #include "Arduino.h" -const char FIRMWARE_VERSION[6] = "1.7.1"; +const char FIRMWARE_VERSION[6] = "1.7.2"; // Optional, user-defined X.509 certificate char CERT_BUF[1300];