From a239f8e4269b3252873131e23bea31684f0e93bf Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Sun, 22 May 2022 21:18:44 -0400 Subject: [PATCH] v1.8.14-5 to fix bug causing data lost ### Releases v1.8.14-5 1. Fix bug causing data lost when sending large files. Check [Thread: Teensy 4.1 - Adafruit Airlift Featherwing Co-Processor FTP Server not opening Port 21](https://forum.pjrc.com/threads/70062-Teensy-4-1-Adafruit-Airlift-Featherwing-Co-Processor-FTP-Server-not-opening-Port-21?p=306507&viewfull=1#post306507). This is just a kludge for temporary use, waiting for better and final fix, dealing with SPI driver, from Arduino. 2. Update `Packages' Patches` --- CONTRIBUTING.md | 6 ++-- README.md | 32 ++++++++++++-------- changelog.md | 5 ++++ library.json | 2 +- library.properties | 2 +- src/WiFiClient_Generic.cpp | 46 ++++++++++++++++++++++++++++- src/WiFiClient_Generic.h | 3 +- src/WiFiNINA_Generic.h | 3 +- src/WiFiNINA_Pinout_Generic.h | 3 +- src/WiFiSSLClient_Generic.cpp | 3 +- src/WiFiSSLClient_Generic.h | 3 +- src/WiFiServer_Generic.cpp | 3 +- src/WiFiServer_Generic.h | 3 +- src/WiFiStorage_Generic.cpp | 3 +- src/WiFiStorage_Generic.h | 3 +- src/WiFiUdp_Generic.cpp | 3 +- src/WiFiUdp_Generic.h | 3 +- src/WiFi_Generic.cpp | 3 +- src/WiFi_Generic.h | 9 +++--- src/utility/WiFiSocketBuffer.cpp | 3 +- src/utility/WiFiSocketBuffer.h | 3 +- src/utility/debug.h | 25 +++++++++------- src/utility/nano_rp2040_support.cpp | 3 +- src/utility/server_drv.cpp | 5 ++-- src/utility/server_drv.h | 3 +- src/utility/spi_drv.cpp | 3 +- src/utility/spi_drv.h | 3 +- src/utility/wifi_drv.cpp | 3 +- src/utility/wifi_drv.h | 3 +- src/utility/wifi_spi.h | 3 +- src/utility/wl_definitions.h | 3 +- src/utility/wl_types.h | 3 +- 32 files changed, 142 insertions(+), 59 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fc9eaf4e..02c14a24 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p Please ensure to specify the following: * Arduino IDE version (e.g. 1.8.19) or Platform.io version -* Core Version (e.g. Arduino SAMD core v1.8.13, Adafruit SAMD core v1.7.10, Arduino-mbed RP2040 v3.0.1) +* Core Version (e.g. Arduino SAMD core v1.8.13, Adafruit SAMD core v1.7.10, Arduino-mbed RP2040 v3.1.1) * Board type (e.g. NANO_RP2040_CONNECT, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040, GENERIC_RP2040, etc.) * Contextual information (e.g. what you were trying to achieve) * Simplest possible steps to reproduce @@ -28,10 +28,10 @@ Please ensure to specify the following: ``` Arduino IDE version: 1.8.19 -Arduino-mbed RP2040 v3.0.1 +Arduino-mbed RP2040 v3.1.1 NANO_RP2040_CONNECT Module OS: Ubuntu 20.04 LTS -Linux xy-Inspiron-3593 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux +Linux xy-Inspiron-3593 5.13.0-41-generic #46~20.04.1-Ubuntu SMP Wed Apr 20 13:16:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Context: I encountered an endless loop while trying to connect to Local WiFi. diff --git a/README.md b/README.md index e23d6ef8..65ad4703 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,9 @@ ### Important Notes -Plase use the new firmware `NINA_W102.zip`, modified by [Juraj Andrássy](https://github.com/JAndrassy), from [Using WIFI-NINA with FtpServer; no accept() #31](https://forum.arduino.cc/t/using-wifi-nina-with-ftpserver-no-accept/933690/31) to use with new version [WiFiNINA_Generic v1.8.14-4+](https://github.com/khoih-prog/WiFiNINA_Generic/releases/tag/v1.8.14-4) to fix some issues, such as FTPServer port 23, etc. +The new [WiFiNINA_Generic v1.8.14-5+](https://github.com/khoih-prog/WiFiNINA_Generic/releases/tag/v1.8.14-5) fixes bug causing data lost when sending large files, such as FTP Client uploading files. + +Please use the new firmware `NINA_W102.zip`, modified by [Juraj Andrássy](https://github.com/JAndrassy), from [Using WIFI-NINA with FtpServer; no accept() #31](https://forum.arduino.cc/t/using-wifi-nina-with-ftpserver-no-accept/933690/31) to use with new version [WiFiNINA_Generic v1.8.14-5+](https://github.com/khoih-prog/WiFiNINA_Generic/releases/tag/v1.8.14-4) to fix some issues, such as FTPServer port 23, etc. --- --- @@ -161,8 +163,8 @@ This [**WiFiNINA_Generic library**](https://github.com/khoih-prog/WiFiNINA_Gener 7. [`Seeeduino SAMD core 1.8.2+`](https://github.com/Seeed-Studio/ArduinoCore-samd) for SAMD21/SAMD51 boards (XIAO M0, Wio Terminal, etc.). [![Latest release](https://img.shields.io/github/release/Seeed-Studio/ArduinoCore-samd.svg)](https://github.com/Seeed-Studio/ArduinoCore-samd/releases/latest/) 8. [`Adafruit nRF52 v1.3.0+`](https://www.adafruit.com) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [![GitHub release](https://img.shields.io/github/release/adafruit/Adafruit_nRF52_Arduino.svg)](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest) 9. [`Arduino Core for STM32 v2.2.0+`](https://github.com/stm32duino/Arduino_Core_STM32) for STM32F/L/H/G/WB/MP1 boards. [![GitHub release](https://img.shields.io/github/release/stm32duino/Arduino_Core_STM32.svg)](https://github.com/stm32duino/Arduino_Core_STM32/releases/latest) -10. [`Arduino mbed_rp2040 core 3.0.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as **Arduino Nano RP2040 Connect, RASPBERRY_PI_PICO, etc.**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) -11. [`Earle Philhower's arduino-pico core v2.0.0+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest) +10. [`Arduino mbed_rp2040 core 3.1.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as **Arduino Nano RP2040 Connect, RASPBERRY_PI_PICO, etc.**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) +11. [`Earle Philhower's arduino-pico core v2.0.2+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest) 12. [`Arduino AVR core 1.8.5+`](https://github.com/arduino/ArduinoCore-avr) for Arduino AVR boards. Use Arduino Board Manager to install. [![Latest release](https://img.shields.io/github/release/arduino/ArduinoCore-avr.svg)](https://github.com/arduino/ArduinoCore-avr/releases/latest/) 13. [`Adafruit AVR core 1.4.14+`](https://github.com/adafruit/Adafruit_Arduino_Boards) for Adafruit AVR boards. Use Arduino Board Manager to install. 14. [`Sparkfun AVR core 1.1.13+`](https://github.com/sparkfun/Arduino_Boards) for Sparkfun AVR boards. Use Arduino Board Manager to install. @@ -412,12 +414,12 @@ With core after v1.5.0, this step is not necessary anymore thanks to the PR [Add #### 9. For Portenta_H7 boards using Arduino IDE in Linux - **To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/3.0.0/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.0.0/portenta_post_install.sh). + **To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/3.1.1/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1/portenta_post_install.sh). Then run the following command using `sudo` ``` -$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.0.0 +$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1 $ chmod 755 portenta_post_install.sh $ sudo ./portenta_post_install.sh ``` @@ -430,9 +432,9 @@ This will create the file `/etc/udev/rules.d/49-portenta_h7.rules` as follows: SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="035b", GROUP="plugdev", MODE="0666" ``` -Supposing the ArduinoCore-mbed core version is 3.0.0. Now only one file must be copied into the directory: +Supposing the ArduinoCore-mbed core version is 3.1.1. Now only one file must be copied into the directory: -- `~/.arduino15/packages/arduino/hardware/mbed_portenta/3.0.0/portenta_post_install.sh` +- `~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1/portenta_post_install.sh` Whenever a new version is installed, remember to copy this files into the new version directory. For example, new version is x.yy.zz @@ -593,7 +595,7 @@ For example ``` Start WiFiNINA CheckFirmwareVersion on SAMD_NANO_33_IOT -WiFiNINA_Generic v1.8.14-4 +WiFiNINA_Generic v1.8.14-5 Firmware version installed: aaa.bbb.ccc Latest firmware version available : aaa.bbb.ccc @@ -687,7 +689,7 @@ The following are screen shot and debug terminal output when running example [Ad ``` Starting AdvancedServer on SAMD_NANO_33_IOT -WiFiNINA_Generic v1.8.14-4 +WiFiNINA_Generic v1.8.14-5 [NN] =============================== [NN] Used/default SPI pinout: @@ -840,7 +842,7 @@ The following is debug terminal output when running example [WiFiWebClientRepeat ``` Start WiFiWebClientRepeating on MBED NANO_RP2040_CONNECT -WiFiNINA_Generic v1.8.14-4 +WiFiNINA_Generic v1.8.14-5 Attempting to connect to SSID: HueNet1 SSID: HueNet1 IP Address: 192.168.2.86 @@ -933,7 +935,7 @@ The following is debug terminal output when running example [WiFiWebClientRepeat ``` Start WiFiWebClientRepeating on ARDUINO_NANO_RP2040_CONNECT -WiFiNINA_Generic v1.8.14-4 +WiFiNINA_Generic v1.8.14-5 Attempting to connect to SSID: HueNet1 SSID: HueNet1 IP Address: 192.168.2.86 @@ -1010,7 +1012,7 @@ The following is debug terminal output when running example [WiFiUdpNtpClient](e ``` Start WiFiUdpNtpClient on ARDUINO_NANO_RP2040_CONNECT -WiFiNINA_Generic v1.8.14-4 +WiFiNINA_Generic v1.8.14-5 Attempting to connect to SSID: HueNet1 Connected to WiFi SSID: HueNet1 @@ -1040,7 +1042,7 @@ The following is debug terminal output when running example [WiFiUdpNtpClient](e ``` Start WiFiUdpNtpClient on MBED NANO_RP2040_CONNECT -WiFiNINA_Generic v1.8.14-4 +WiFiNINA_Generic v1.8.14-5 Attempting to connect to SSID: HueNet1 Connected to WiFi SSID: HueNet1 @@ -1122,6 +1124,8 @@ Sometimes, the library will only work if you update the `WiFiNINA module/shield` - [Watchdog trigger changes #208](https://github.com/arduino-libraries/WiFiNINA/pull/208) - [added server.accept() #204](https://github.com/arduino-libraries/WiFiNINA/pull/204) - [Fix PinStatus error on some platforms #185](https://github.com/arduino-libraries/WiFiNINA/pull/185) +23. Fix bug causing data lost when sending large files. This is just a kludge for temporary use, waiting for better and final fix, dealing with SPI driver, from Arduino. + --- @@ -1150,6 +1154,8 @@ Submit issues to: [WiFiNINA_Generic issues](https://github.com/khoih-prog/WiFiNI 9. Thanks to [Mattia Pennasilico](https://github.com/pennam) to create the following PR, used in v1.8.14-4 - [Watchdog trigger changes #208](https://github.com/arduino-libraries/WiFiNINA/pull/208) + + --- diff --git a/changelog.md b/changelog.md index 72466ec4..be94f549 100644 --- a/changelog.md +++ b/changelog.md @@ -40,6 +40,11 @@ ## Changelog +### Releases v1.8.14-5 + +1. Fix bug causing data lost when sending large files. Check [Thread: Teensy 4.1 - Adafruit Airlift Featherwing Co-Processor FTP Server not opening Port 21](https://forum.pjrc.com/threads/70062-Teensy-4-1-Adafruit-Airlift-Featherwing-Co-Processor-FTP-Server-not-opening-Port-21?p=306507&viewfull=1#post306507). This is just a kludge for temporary use, waiting for better and final fix, dealing with SPI driver, from Arduino. +2. Update `Packages' Patches` + ### Releases v1.8.14-4 1. Fix bugs by using some unmerged PRs from original WiFiNINA, such as: diff --git a/library.json b/library.json index 53fb7b9b..26cc269d 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "WiFiNINA_Generic", - "version": "1.8.14-4", + "version": "1.8.14-5", "keywords": "wifi, wi-fi, WiFiNINA, NINA-B302-ublox, W101, W102, shield, Teensy, SAM DUE, SAMD, STM32, nRF52, rpi-pico, rp2040, Credentials, Manager, nano-rp2040-connect, raspberry-pi-pico, mega, 32u4", "description": "Enables network connection (local and Internet) and WiFiStorage for SAM DUE, SAMD21, SAMD51, Teensy, AVR (328P, 32u4, 16u4, etc.), Mega, STM32F/L/H/G/WB/MP1, nRF52, NINA_B302_ublox, NINA_B112_ublox, RP2040-based boards, etc. in addition to Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000, Arduino UNO WiFi Rev.2, Nano 33 IoT, Nano RP2040 Connect", "authors": [ diff --git a/library.properties b/library.properties index efad7374..9a20b92d 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=WiFiNINA_Generic -version=1.8.14-4 +version=1.8.14-5 author=Arduino, Khoi Hoang maintainer=Khoi Hoang sentence=Enables network connection (local and Internet) and WiFiStorage for SAM DUE, SAMD21, SAMD51, Teensy, AVR (328P, 32u4, 16u4, etc.), Mega, STM32F/L/H/G/WB/MP1, nRF52, NINA_B302_ublox, NINA_B112_ublox, RP2040-based boards, etc. in addition to Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000, Arduino UNO WiFi Rev.2, Nano 33 IoT, Nano RP2040 Connect diff --git a/src/WiFiClient_Generic.cpp b/src/WiFiClient_Generic.cpp index c26fa970..1731b493 100644 --- a/src/WiFiClient_Generic.cpp +++ b/src/WiFiClient_Generic.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #define _WIFININA_LOGLEVEL_ 1 @@ -274,25 +275,51 @@ size_t WiFiClient::write(uint8_t b) return write(&b, 1); } +/////////////////////////////////////////////////////////////////////////// +// KH fix bug error when sending repetitively for large file size_t WiFiClient::write(const uint8_t *buf, size_t size) { + NN_LOGDEBUG1("WiFiClient::write: To write, size = ", size); + if (_sock == NO_SOCKET_AVAIL) { setWriteError(); + + NN_LOGDEBUG("WiFiClient::write: NO_SOCKET_AVAIL"); + return 0; } if (size == 0) { setWriteError(); + + NN_LOGDEBUG("WiFiClient::write: size = 0"); + return 0; } size_t written = ServerDrv::sendData(_sock, buf, size); + uint8_t timesResent = 0; + + while ( (written != size) && (timesResent++ < 100) ) + { + // Don't use too short delay so that NINA has some time to recover + // The fix is considered as kludge, and the correct place to fix is in ServerDrv::sendData() + delay(100); + + written += ServerDrv::sendData(_sock, buf + written, size - written); + } + + NN_LOGDEBUG1("WiFiClient::write: loopSend => written = ", written); + NN_LOGDEBUG1("WiFiClient::write: loopSend => timesResent = ", timesResent); + if (!written && _retrySend) { written = retry(buf, size, true); + + NN_LOGDEBUG1("WiFiClient::write: _retrySend => written = ", written); } if (!written) @@ -300,18 +327,35 @@ size_t WiFiClient::write(const uint8_t *buf, size_t size) // close socket ServerDrv::stopClient(_sock); setWriteError(); + + NN_LOGDEBUG("WiFiClient::write: !written error"); + return 0; } if (!ServerDrv::checkDataSent(_sock)) { setWriteError(); + + NN_LOGDEBUG("WiFiClient::write: error !checkDataSent"); + return 0; } + + if (written == size) + { + NN_LOGINFO1("WiFiClient::write: OK, written = ", written); + } + else + { + NN_LOGERROR3("WiFiClient::write: Not OK, size = ", size, ", written = ", written); + } return written; } +/////////////////////////////////////////////////////////////////////////// + size_t WiFiClient::retry(const uint8_t *buf, size_t size, bool write) { size_t rec_bytes = 0; diff --git a/src/WiFiClient_Generic.h b/src/WiFiClient_Generic.h index f5d39877..1f817829 100644 --- a/src/WiFiClient_Generic.h +++ b/src/WiFiClient_Generic.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiNINA_Generic.h b/src/WiFiNINA_Generic.h index cc1317f3..72e64ec4 100644 --- a/src/WiFiNINA_Generic.h +++ b/src/WiFiNINA_Generic.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiNINA_Pinout_Generic.h b/src/WiFiNINA_Pinout_Generic.h index 1a759017..75186281 100644 --- a/src/WiFiNINA_Pinout_Generic.h +++ b/src/WiFiNINA_Pinout_Generic.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiSSLClient_Generic.cpp b/src/WiFiSSLClient_Generic.cpp index 146ff1b8..11b6fa4c 100644 --- a/src/WiFiSSLClient_Generic.cpp +++ b/src/WiFiSSLClient_Generic.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #include "WiFiSSLClient_Generic.h" diff --git a/src/WiFiSSLClient_Generic.h b/src/WiFiSSLClient_Generic.h index 11ec12c2..75213d76 100644 --- a/src/WiFiSSLClient_Generic.h +++ b/src/WiFiSSLClient_Generic.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiServer_Generic.cpp b/src/WiFiServer_Generic.cpp index 0928bb21..19bbbda5 100644 --- a/src/WiFiServer_Generic.cpp +++ b/src/WiFiServer_Generic.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #include diff --git a/src/WiFiServer_Generic.h b/src/WiFiServer_Generic.h index d04ae4d5..25621c04 100644 --- a/src/WiFiServer_Generic.h +++ b/src/WiFiServer_Generic.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiStorage_Generic.cpp b/src/WiFiStorage_Generic.cpp index 76b70a82..1876316c 100644 --- a/src/WiFiStorage_Generic.cpp +++ b/src/WiFiStorage_Generic.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #include "WiFiStorage_Generic.h" diff --git a/src/WiFiStorage_Generic.h b/src/WiFiStorage_Generic.h index ddfefc48..b2157af7 100644 --- a/src/WiFiStorage_Generic.h +++ b/src/WiFiStorage_Generic.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiUdp_Generic.cpp b/src/WiFiUdp_Generic.cpp index 0d6f2508..5f0b15c6 100644 --- a/src/WiFiUdp_Generic.cpp +++ b/src/WiFiUdp_Generic.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #include diff --git a/src/WiFiUdp_Generic.h b/src/WiFiUdp_Generic.h index c0465ac4..2a66a6b6 100644 --- a/src/WiFiUdp_Generic.h +++ b/src/WiFiUdp_Generic.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFi_Generic.cpp b/src/WiFi_Generic.cpp index 698019fd..f8ad0538 100644 --- a/src/WiFi_Generic.cpp +++ b/src/WiFi_Generic.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #include "utility/wifi_drv.h" diff --git a/src/WiFi_Generic.h b/src/WiFi_Generic.h index fad38486..a41c671f 100644 --- a/src/WiFi_Generic.h +++ b/src/WiFi_Generic.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once @@ -48,14 +49,14 @@ #define WIFI_HAS_FEED_WATCHDOG_FUNC -#define WIFININA_GENERIC_VERSION "WiFiNINA_Generic v1.8.14-4" +#define WIFININA_GENERIC_VERSION "WiFiNINA_Generic v1.8.14-5" #define WIFININA_GENERIC_VERSION_MAJOR 1 #define WIFININA_GENERIC_VERSION_MINOR 8 #define WIFININA_GENERIC_VERSION_PATCH 14 -#define WIFININA_GENERIC_VERSION_PATCH_MINOR 4 +#define WIFININA_GENERIC_VERSION_PATCH_MINOR 5 -#define WIFININA_GENERIC_VERSION_INT 1008014004 +#define WIFININA_GENERIC_VERSION_INT 1008014005 #include diff --git a/src/utility/WiFiSocketBuffer.cpp b/src/utility/WiFiSocketBuffer.cpp index 8b94eede..b8f5fb64 100644 --- a/src/utility/WiFiSocketBuffer.cpp +++ b/src/utility/WiFiSocketBuffer.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #include diff --git a/src/utility/WiFiSocketBuffer.h b/src/utility/WiFiSocketBuffer.h index ca8f6e41..c8bfe684 100644 --- a/src/utility/WiFiSocketBuffer.h +++ b/src/utility/WiFiSocketBuffer.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/debug.h b/src/utility/debug.h index 19565eaf..56cfd393 100644 --- a/src/utility/debug.h +++ b/src/utility/debug.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once @@ -80,31 +81,33 @@ const char NN_SP[] = " "; #define NN_LOGERROR0(x) if(_WIFININA_LOGLEVEL_>0) { NN_PRINT(x); } #define NN_LOGERROR(x) if(_WIFININA_LOGLEVEL_>0) { NN_PRINT_MARK; NN_PRINTLN(x); } -#define NN_LOGERROR1(x,y) if(_WIFININA_LOGLEVEL_>0) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINTLN(y); } -#define NN_LOGERROR2(x,y,z) if(_WIFININA_LOGLEVEL_>0) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINT(y); NN_PRINT(" "); NN_PRINTLN(z); } +#define NN_LOGERROR1(x,y) if(_WIFININA_LOGLEVEL_>0) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINTLN(y); } +#define NN_LOGERROR2(x,y,z) if(_WIFININA_LOGLEVEL_>0) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINT(y); NN_PRINT_SP; NN_PRINTLN(z); } +#define NN_LOGERROR3(x,y,z,w) if(_WIFININA_LOGLEVEL_>0) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINT(y); NN_PRINT_SP; NN_PRINTLN(z); NN_PRINT_SP; NN_PRINTLN(w); } /////////////////////////////////////// #define NN_LOGWARN0(x) if(_WIFININA_LOGLEVEL_>1) { NN_PRINT(x); } #define NN_LOGWARN(x) if(_WIFININA_LOGLEVEL_>1) { NN_PRINT_MARK; NN_PRINTLN(x); } -#define NN_LOGWARN1(x,y) if(_WIFININA_LOGLEVEL_>1) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINTLN(y); } -#define NN_LOGWARN2(x,y,z) if(_WIFININA_LOGLEVEL_>1) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINT(y); NN_PRINT(" "); NN_PRINTLN(z); } +#define NN_LOGWARN1(x,y) if(_WIFININA_LOGLEVEL_>1) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINTLN(y); } +#define NN_LOGWARN2(x,y,z) if(_WIFININA_LOGLEVEL_>1) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINT(y); NN_PRINT_SP; NN_PRINTLN(z); } +#define NN_LOGWARN3(x,y,z,w) if(_WIFININA_LOGLEVEL_>1) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINT(y); NN_PRINT_SP; NN_PRINTLN(z); NN_PRINT_SP; NN_PRINTLN(w); } /////////////////////////////////////// #define NN_LOGINFO0(x) if(_WIFININA_LOGLEVEL_>2) { NN_PRINT(x); } #define NN_LOGINFO(x) if(_WIFININA_LOGLEVEL_>2) { NN_PRINT_MARK; NN_PRINTLN(x); } -#define NN_LOGINFO1(x,y) if(_WIFININA_LOGLEVEL_>2) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINTLN(y); } -#define NN_LOGINFO2(x,y,z) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINT(y); NN_PRINT(" "); NN_PRINTLN(z); } -#define NN_LOGINFO3(x,y,z,w) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINT(y); NN_PRINT(" "); NN_PRINTLN(z); NN_PRINT(" "); NN_PRINTLN(w); } +#define NN_LOGINFO1(x,y) if(_WIFININA_LOGLEVEL_>2) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINTLN(y); } +#define NN_LOGINFO2(x,y,z) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINT(y); NN_PRINT_SP; NN_PRINTLN(z); } +#define NN_LOGINFO3(x,y,z,w) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINT(y); NN_PRINT_SP; NN_PRINTLN(z); NN_PRINT_SP; NN_PRINTLN(w); } /////////////////////////////////////// #define NN_LOGDEBUG0(x) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT(x); } #define NN_LOGDEBUG(x) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINTLN(x); } -#define NN_LOGDEBUG1(x,y) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINTLN(y); } -#define NN_LOGDEBUG2(x,y,z) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINT(y); NN_PRINT(" "); NN_PRINTLN(z); } -#define NN_LOGDEBUG3(x,y,z,w) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT(" "); NN_PRINT(y); NN_PRINT(" "); NN_PRINTLN(z); NN_PRINT(" "); NN_PRINTLN(w); } +#define NN_LOGDEBUG1(x,y) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINTLN(y); } +#define NN_LOGDEBUG2(x,y,z) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINT(y); NN_PRINT_SP; NN_PRINTLN(z); } +#define NN_LOGDEBUG3(x,y,z,w) if(_WIFININA_LOGLEVEL_>3) { NN_PRINT_MARK; NN_PRINT(x); NN_PRINT_SP; NN_PRINT(y); NN_PRINT_SP; NN_PRINTLN(z); NN_PRINT_SP; NN_PRINTLN(w); } /////////////////////////////////////// diff --git a/src/utility/nano_rp2040_support.cpp b/src/utility/nano_rp2040_support.cpp index 95237615..236f877a 100644 --- a/src/utility/nano_rp2040_support.cpp +++ b/src/utility/nano_rp2040_support.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ //#ifdef ARDUINO_NANO_RP2040_CONNECT diff --git a/src/utility/server_drv.cpp b/src/utility/server_drv.cpp index d2bde1a1..90cd26bf 100644 --- a/src/utility/server_drv.cpp +++ b/src/utility/server_drv.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #define _DEBUG_ @@ -521,7 +522,7 @@ uint16_t ServerDrv::sendData(uint8_t sock, const uint8_t *data, uint16_t len) } SpiDrv::spiSlaveDeselect(); - + return _data; } diff --git a/src/utility/server_drv.h b/src/utility/server_drv.h index 5a1e9b9d..1a174e7b 100644 --- a/src/utility/server_drv.h +++ b/src/utility/server_drv.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/spi_drv.cpp b/src/utility/spi_drv.cpp index b5c18b76..2bdc0c32 100644 --- a/src/utility/spi_drv.cpp +++ b/src/utility/spi_drv.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #include "Arduino.h" diff --git a/src/utility/spi_drv.h b/src/utility/spi_drv.h index 58806d20..6c9fd08e 100644 --- a/src/utility/spi_drv.h +++ b/src/utility/spi_drv.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/wifi_drv.cpp b/src/utility/wifi_drv.cpp index 642cbb7d..38a1edea 100644 --- a/src/utility/wifi_drv.cpp +++ b/src/utility/wifi_drv.cpp @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #include diff --git a/src/utility/wifi_drv.h b/src/utility/wifi_drv.h index 2a63c367..a3e337bb 100644 --- a/src/utility/wifi_drv.h +++ b/src/utility/wifi_drv.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/wifi_spi.h b/src/utility/wifi_spi.h index 25d18748..dc419fda 100644 --- a/src/utility/wifi_spi.h +++ b/src/utility/wifi_spi.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/wl_definitions.h b/src/utility/wl_definitions.h index 94f26f21..9eaa9594 100644 --- a/src/utility/wl_definitions.h +++ b/src/utility/wl_definitions.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/wl_types.h b/src/utility/wl_types.h index 50116722..68dc9a9d 100644 --- a/src/utility/wl_types.h +++ b/src/utility/wl_types.h @@ -24,7 +24,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Version: 1.8.14-4 + Version: 1.8.14-5 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -36,6 +36,7 @@ 1.8.14-2 K Hoang 31/12/2021 Add support to Nano_RP2040_Connect using arduino-pico core 1.8.14-3 K Hoang 31/12/2021 Fix issue with UDP for Nano_RP2040_Connect using arduino-pico core 1.8.14-4 K Hoang 01/05/2022 Fix bugs by using some PRs from original WiFiNINA. Add WiFiMulti-related examples + 1.8.14-5 K Hoang 23/05/2022 Fix bug causing data lost when sending large files ***********************************************************************************************************************************/ #pragma once