diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 02c14a24..2311734a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,7 @@ Arduino IDE version: 1.8.19 Arduino-mbed RP2040 v3.1.1 NANO_RP2040_CONNECT Module OS: Ubuntu 20.04 LTS -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 +Linux xy-Inspiron-3593 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 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 65ad4703..41301b1c 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ 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. +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-4+](https://github.com/khoih-prog/WiFiNINA_Generic/releases/tag/v1.8.14-4) to fix some issues, such as FTPServer port 23, etc. --- --- @@ -156,19 +156,19 @@ This [**WiFiNINA_Generic library**](https://github.com/khoih-prog/WiFiNINA_Gener 1. [`Arduino IDE 1.8.19+`](https://www.arduino.cc/en/Main/Software) 2. [`Arduino AVR core 1.8.5+`](https://github.com/arduino/ArduinoCore-avr) for Arduino (Use Arduino Board Manager) for AVR boards. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-avr.svg)](https://github.com/arduino/ArduinoCore-avr/releases/latest) - 3. [`Teensy core 1.56+`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.1, 4.0, 3.6, 3.5, 3,2, 3.1, 3.0, LC) boards + 3. [`Teensy core 1.57+`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.1, 4.0, 3.6, 3.5, 3,2, 3.1, 3.0, LC) boards 4. [`Arduino SAM DUE core 1.6.12+`](https://github.com/arduino/ArduinoCore-sam) for SAM DUE ARM Cortex-M3 boards 5. [`Arduino SAMD core 1.8.13+`](https://www.arduino.cc/en/Guide/ArduinoM0) for SAMD ARM Cortex-M0+ boards. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-samd.svg)](https://github.com/arduino/ArduinoCore-samd/releases/latest) 6. [`Adafruit SAMD core 1.7.10+`](https://www.adafruit.com/) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.). [![GitHub release](https://img.shields.io/github/release/adafruit/ArduinoCore-samd.svg)](https://github.com/adafruit/ArduinoCore-samd/releases/latest) - 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/) + 7. [`Seeeduino SAMD core 1.8.3+`](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) + 9. [`Arduino Core for STM32 v2.3.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.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) +11. [`Earle Philhower's arduino-pico core v2.4.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) 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. -15. [`WiFiMulti_Generic library v1.1.1+`](https://github.com/khoih-prog/WiFiMulti_Generic) to use WiFiMulti function in some examples. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiMulti_Generic.svg?)](https://www.ardu-badge.com/WiFiMulti_Generic). **New** +15. [`WiFiMulti_Generic library v1.2.2+`](https://github.com/khoih-prog/WiFiMulti_Generic) to use WiFiMulti function in some examples. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiMulti_Generic.svg?)](https://www.ardu-badge.com/WiFiMulti_Generic). **New** --- @@ -323,14 +323,14 @@ This file must be copied into the directory: #### 6. For Seeeduino SAMD boards - ***To be able to compile, run and automatically detect and display BOARD_NAME on Seeeduino SAMD (XIAO M0, Wio Terminal, etc) boards***, you have to copy the whole [Seeeduino SAMD Packages_Patches](Packages_Patches/Seeeduino/hardware/samd/1.8.2) directory into Seeeduino samd directory (~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2). + ***To be able to compile, run and automatically detect and display BOARD_NAME on Seeeduino SAMD (XIAO M0, Wio Terminal, etc) boards***, you have to copy the whole [Seeeduino SAMD Packages_Patches](Packages_Patches/Seeeduino/hardware/samd/1.8.3) directory into Seeeduino samd directory (~/.arduino15/packages/Seeeduino/hardware/samd/1.8.3). -Supposing the Seeeduino SAMD core version is 1.8.2. This file must be copied into the directory: +Supposing the Seeeduino SAMD core version is 1.8.3. This file must be copied into the directory: -- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2/platform.txt` -- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2/cores/arduino/Arduino.h` -- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2/cores/arduino/Print.h` -- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2/cores/arduino/Print.cpp` +- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.3/platform.txt` +- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.3/cores/arduino/Arduino.h` +- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.3/cores/arduino/Print.h` +- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.3/cores/arduino/Print.cpp` Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz This file must be copied into the directory: @@ -350,12 +350,12 @@ To use LAN8720 on some STM32 boards - **Discovery (DISCO_F746NG)** - **STM32F4 boards (BLACK_F407VE, BLACK_F407VG, BLACK_F407ZE, BLACK_F407ZG, BLACK_F407VE_Mini, DIYMORE_F407VGT, FK407M1)** -you have to copy the files [stm32f4xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.2.0/system/STM32F4xx) and [stm32f7xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.2.0/system/STM32F7xx) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.2.0/system) to overwrite the old files. +you have to copy the files [stm32f4xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.3.0/system/STM32F4xx) and [stm32f7xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.3.0/system/STM32F7xx) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.3.0/system) to overwrite the old files. -Supposing the STM32 stm32 core version is 2.2.0. These files must be copied into the directory: +Supposing the STM32 stm32 core version is 2.3.0. These files must be copied into the directory: -- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/system/STM32F4xx/stm32f4xx_hal_conf_default.h` for STM32F4. -- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/system/STM32F7xx/stm32f7xx_hal_conf_default.h` for Nucleo-144 STM32F7. +- `~/.arduino15/packages/STM32/hardware/stm32/2.3.0/system/STM32F4xx/stm32f4xx_hal_conf_default.h` for STM32F4. +- `~/.arduino15/packages/STM32/hardware/stm32/2.3.0/system/STM32F7xx/stm32f7xx_hal_conf_default.h` for Nucleo-144 STM32F7. Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz, theses files must be copied into the corresponding directory: @@ -366,12 +366,12 @@ theses files must be copied into the corresponding directory: #### 7.2 For STM32 boards to use Serial1 -**To use Serial1 on some STM32 boards without Serial1 definition (Nucleo-144 NUCLEO_F767ZI, Nucleo-64 NUCLEO_L053R8, etc.) boards**, you have to copy the files [STM32 variant.h](Packages_Patches/STM32/hardware/stm32/2.2.0) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.2.0). You have to modify the files corresponding to your boards, this is just an illustration how to do. +**To use Serial1 on some STM32 boards without Serial1 definition (Nucleo-144 NUCLEO_F767ZI, Nucleo-64 NUCLEO_L053R8, etc.) boards**, you have to copy the files [STM32 variant.h](Packages_Patches/STM32/hardware/stm32/2.3.0) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.3.0). You have to modify the files corresponding to your boards, this is just an illustration how to do. -Supposing the STM32 stm32 core version is 2.2.0. These files must be copied into the directory: +Supposing the STM32 stm32 core version is 2.3.0. These files must be copied into the directory: -- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/NUCLEO_F767ZI/variant.h` for Nucleo-144 NUCLEO_F767ZI. -- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/NUCLEO_L053R8/variant.h` for Nucleo-64 NUCLEO_L053R8. +- `~/.arduino15/packages/STM32/hardware/stm32/2.3.0/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/NUCLEO_F767ZI/variant.h` for Nucleo-144 NUCLEO_F767ZI. +- `~/.arduino15/packages/STM32/hardware/stm32/2.3.0/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/NUCLEO_L053R8/variant.h` for Nucleo-64 NUCLEO_L053R8. Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz, theses files must be copied into the corresponding directory: @@ -445,11 +445,11 @@ This file must be copied into the directory: #### 10. For RTL8720DN boards using AmebaD core - To avoid compile error relating to PROGMEM, you have to copy the file [Realtek AmebaD core pgmspace.h](Packages_Patches/realtek/hardware/AmebaD/3.1.2/cores/arduino/avr/pgmspace.h) into Realtek AmebaD directory (~/.arduino15/packages/realtek/hardware/AmebaD/3.1.2/cores/arduino/avr/pgmspace.h). + To avoid compile error relating to PROGMEM, you have to copy the file [Realtek AmebaD core pgmspace.h](Packages_Patches/realtek/hardware/AmebaD/3.1.3/cores/arduino/avr/pgmspace.h) into Realtek AmebaD directory (~/.arduino15/packages/realtek/hardware/AmebaD/3.1.3/cores/arduino/avr/pgmspace.h). -Supposing the Realtek AmebaD core version is 3.1.2. This file must be copied into the directory: +Supposing the Realtek AmebaD core version is 3.1.3. This file must be copied into the directory: -- `~/.arduino15/packages/realtek/hardware/AmebaD/3.1.2/cores/arduino/avr/pgmspace.h` +- `~/.arduino15/packages/realtek/hardware/AmebaD/3.1.3/cores/arduino/avr/pgmspace.h` Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz This file must be copied into the directory: @@ -595,7 +595,7 @@ For example ``` Start WiFiNINA CheckFirmwareVersion on SAMD_NANO_33_IOT -WiFiNINA_Generic v1.8.14-5 +WiFiNINA_Generic v1.8.14-6 Firmware version installed: aaa.bbb.ccc Latest firmware version available : aaa.bbb.ccc @@ -689,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-5 +WiFiNINA_Generic v1.8.14-6 [NN] =============================== [NN] Used/default SPI pinout: @@ -842,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-5 +WiFiNINA_Generic v1.8.14-6 Attempting to connect to SSID: HueNet1 SSID: HueNet1 IP Address: 192.168.2.86 @@ -935,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-5 +WiFiNINA_Generic v1.8.14-6 Attempting to connect to SSID: HueNet1 SSID: HueNet1 IP Address: 192.168.2.86 @@ -1012,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-5 +WiFiNINA_Generic v1.8.14-6 Attempting to connect to SSID: HueNet1 Connected to WiFi SSID: HueNet1 @@ -1042,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-5 +WiFiNINA_Generic v1.8.14-6 Attempting to connect to SSID: HueNet1 Connected to WiFi SSID: HueNet1 @@ -1125,7 +1125,7 @@ Sometimes, the library will only work if you update the `WiFiNINA module/shield` - [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. - +24. Add support to Teensy 4.x using `Adafruit Airlift Featherwing Co-Processor` --- @@ -1138,22 +1138,22 @@ Submit issues to: [WiFiNINA_Generic issues](https://github.com/khoih-prog/WiFiNI ### Contributions and Thanks -1. Based on and modified from from [Arduino WiFiNINA library](http://www.arduino.cc/en/Reference/WiFiNINA).Thanks to the great works of these [WiFiNINA Library's Contributors](https://github.com/arduino-libraries/WiFiNINA/graphs/contributors) -2. Thanks to good work of [Miguel Alexandre Wisintainer](https://github.com/tcpipchip) for initiating, inspriring, working with, developing, debugging and testing. Without that, support to nRF52, especially **NINA_B302_ublox running as nRF52840 and NINA_B112_ublox running as nRF52832**, has never been started and finished. See [u-blox nina b](https://github.com/khoih-prog/WiFiNINA_Generic/issues/1) -3. Thanks to [AppsByDavideV](https://github.com/AppsByDavideV) to report [WiFiStorage Bug](https://github.com/khoih-prog/WiFiNINA_Generic/issues/4) -4. Thanks to [Oscar den Uijl](https://github.com/ocrdu) for : + 1. Based on and modified from from [Arduino WiFiNINA library](http://www.arduino.cc/en/Reference/WiFiNINA).Thanks to the great works of these [WiFiNINA Library's Contributors](https://github.com/arduino-libraries/WiFiNINA/graphs/contributors) + 2. Thanks to good work of [Miguel Alexandre Wisintainer](https://github.com/tcpipchip) for initiating, inspriring, working with, developing, debugging and testing. Without that, support to nRF52, especially **NINA_B302_ublox running as nRF52840 and NINA_B112_ublox running as nRF52832**, has never been started and finished. See [u-blox nina b](https://github.com/khoih-prog/WiFiNINA_Generic/issues/1) + 3. Thanks to [AppsByDavideV](https://github.com/AppsByDavideV) to report [WiFiStorage Bug](https://github.com/khoih-prog/WiFiNINA_Generic/issues/4) + 4. Thanks to [Oscar den Uijl](https://github.com/ocrdu) for : - the fix, reported in [Version 1.4.0 can break code that uses more than one WiFiServer and socket](https://github.com/arduino-libraries/WiFiNINA/issues/87) and has been included. - the newly-added example [MultiServers](examples/MultiServers) -5. Thanks to [Gerard Moorcroft](https://github.com/gmstuff) to report issue [**WiFi Hangs when attempting to start WiFi (Adafruit M4 Express Airlift Lite board)**](https://github.com/khoih-prog/MySQL_MariaDB_Generic/issues/2) leading to version v1.7.2 to add support to Adafruit METRO_M4_AIRLIFT_LITE, PYBADGE_AIRLIFT_M4. -6. Thanks to [mouradelbellili](https://github.com/mouradelbellili) to create PR [**Add support to Arduino UNO board** #9](https://github.com/khoih-prog/WiFiNINA_Generic/pull/9) leading to version v1.8.12 to add support to Arduino, Adafruit, Sparkfun AVR 328P, 32u4, 16u4, etc. boards -7. Thanks to [Juraj Andrássy](https://github.com/JAndrassy) to create these following PRs, used in v1.8.14-4 + 5. Thanks to [Gerard Moorcroft](https://github.com/gmstuff) to report issue [**WiFi Hangs when attempting to start WiFi (Adafruit M4 Express Airlift Lite board)**](https://github.com/khoih-prog/MySQL_MariaDB_Generic/issues/2) leading to version v1.7.2 to add support to Adafruit METRO_M4_AIRLIFT_LITE, PYBADGE_AIRLIFT_M4. + 6. Thanks to [mouradelbellili](https://github.com/mouradelbellili) to create PR [**Add support to Arduino UNO board** #9](https://github.com/khoih-prog/WiFiNINA_Generic/pull/9) leading to version v1.8.12 to add support to Arduino, Adafruit, Sparkfun AVR 328P, 32u4, 16u4, etc. boards + 7. Thanks to [Juraj Andrássy](https://github.com/JAndrassy) to create these following PRs, used in v1.8.14-4 - [WiFi.config - setting defaults as the Ethernet library #219](https://github.com/arduino-libraries/WiFiNINA/pull/219) - [added server.accept() #204](https://github.com/arduino-libraries/WiFiNINA/pull/204) -8. Thanks to [Tamás Mélykuti](https://github.com/BlooD2oo1) to create the following PR, used in v1.8.14-4 + 8. Thanks to [Tamás Mélykuti](https://github.com/BlooD2oo1) to create the following PR, used in v1.8.14-4 - [Fix WiFiClient watchdog usage #211](https://github.com/arduino-libraries/WiFiNINA/pull/211) -9. Thanks to [Mattia Pennasilico](https://github.com/pennam) to create the following PR, used in v1.8.14-4 + 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) - +10. Thanks to [NachtRave](https://github.com/NachtRaveVL) to report issue [**Flush method not implemented #22**](https://github.com/khoih-prog/WiFiNINA_Generic/issues/22) leading to version v1.8.14-6 --- @@ -1170,6 +1170,7 @@ Submit issues to: [WiFiNINA_Generic issues](https://github.com/khoih-prog/WiFiNI BlooD2oo1
Tamás Mélykuti

pennam
Mattia Pennasilico

+ NachtRaveVL
NachtRave

diff --git a/changelog.md b/changelog.md index be94f549..1cd99d06 100644 --- a/changelog.md +++ b/changelog.md @@ -12,6 +12,8 @@ ## Table of Contents * [Changelog](#changelog) + * [Releases v1.8.14-6](#releases-v1814-6) + * [Releases v1.8.14-5](#releases-v1814-5) * [Releases v1.8.14-4](#releases-v1814-4) * [Releases v1.8.14-3](#releases-v1814-3) * [Releases v1.8.14-2](#releases-v1814-2) @@ -40,6 +42,12 @@ ## Changelog +### Releases v1.8.14-6 + +1. Add support to `Teensy 4.x` using `Adafruit Airlift Featherwing Co-Processor` +2. Fix `WiFiStorageFile.flush()` linker error in some platform. Check [Flush method not implemented #22](https://github.com/khoih-prog/WiFiNINA_Generic/issues/22) +3. Update `Packages' Patches` + ### 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. diff --git a/library.json b/library.json index 26cc269d..0f9c9bcd 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "WiFiNINA_Generic", - "version": "1.8.14-5", + "version": "1.8.14-6", "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 9a20b92d..00ccb67c 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=WiFiNINA_Generic -version=1.8.14-5 +version=1.8.14-6 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/platformio/platformio.ini b/platformio/platformio.ini index a4caaf97..bd01f7aa 100644 --- a/platformio/platformio.ini +++ b/platformio/platformio.ini @@ -54,10 +54,10 @@ lib_ldf_mode = chain+ lib_deps = ; PlatformIO 4.x -; WiFiMulti_Generic@>=1.1.1 +; WiFiMulti_Generic@>=1.2.2 ; PlatformIO 5.x - khoih-prog/WiFiMulti_Generic@>=1.1.1 + khoih-prog/WiFiMulti_Generic@>=1.2.2 build_flags = ; set your debug output (default=Serial) diff --git a/src/WiFiClient_Generic.cpp b/src/WiFiClient_Generic.cpp index 1731b493..4d625a67 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #define _WIFININA_LOGLEVEL_ 1 diff --git a/src/WiFiClient_Generic.h b/src/WiFiClient_Generic.h index 1f817829..bd4813ab 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiNINA_Generic.h b/src/WiFiNINA_Generic.h index 72e64ec4..cccbb212 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiNINA_Pinout_Generic.h b/src/WiFiNINA_Pinout_Generic.h index 75186281..9d03c217 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once @@ -367,16 +368,17 @@ #if defined(__IMXRT1062__) // For Teensy 4.0 - #warning You have to modify pin usage according to actual connection for Teensy 4.0 + #warning You have to modify pin usage according to actual connection for Teensy 4.0/4.1 #define PINS_COUNT (60u) - //NINA - #define NINA_GPIO0 (6u) //6 - #define NINA_RESETN (2u) - #define NINA_ACK (5u) - - #define SPIWIFI_SS 10 //PIN_SPI1_SS //10 - #define SPIWIFI_ACK 5 //NINA_ACK //5 - #define SPIWIFI_RESET 2 //NINA_RESETN //7 + // T4.1 SPI pin defs for WiFiNINA AirLift. + #define NINA_GPIO0 (255u) //6 + #define NINA_RESETN (6u) + #define NINA_ACK (9u) + + // T4.1 SPI pin defs for WiFiNINA AirLift. + #define SPIWIFI_SS 5 //PIN_SPI1_SS //10 + #define SPIWIFI_ACK 9 //NINA_ACK //7 + #define SPIWIFI_RESET 6 //NINA_RESETN //5 #elif ( defined(__MKL26Z64__) || defined(ARDUINO_ARCH_AVR) ) diff --git a/src/WiFiSSLClient_Generic.cpp b/src/WiFiSSLClient_Generic.cpp index 11b6fa4c..4551bf8f 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #include "WiFiSSLClient_Generic.h" diff --git a/src/WiFiSSLClient_Generic.h b/src/WiFiSSLClient_Generic.h index 75213d76..4c02cce9 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiServer_Generic.cpp b/src/WiFiServer_Generic.cpp index 19bbbda5..f59295c3 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,12 +37,13 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #include #include "utility/server_drv.h" -#define _WIFININA_LOGLEVEL_ 1 +#define _WIFININA_LOGLEVEL_ 3 extern "C" { @@ -195,6 +196,8 @@ size_t WiFiServer::write(uint8_t b) return write(&b, 1); } +#if 1 + size_t WiFiServer::write(const uint8_t *buffer, size_t size) { if (size == 0) @@ -205,9 +208,26 @@ size_t WiFiServer::write(const uint8_t *buffer, size_t size) size_t written = ServerDrv::sendData(_sock, buffer, 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, buffer + written, size - written); + } + + NN_LOGINFO1("WiFiServer::write: loopSend => written = ", written); + NN_LOGINFO1("WiFiServer::write: loopSend => timesResent = ", timesResent); + if (!written) { setWriteError(); + + NN_LOGERROR("WiFiServer::write: !written error"); + return 0; } @@ -217,5 +237,43 @@ size_t WiFiServer::write(const uint8_t *buffer, size_t size) return 0; } + if (written == size) + { + NN_LOGINFO1("WiFiServer::write: OK, written = ", written); + } + else + { + NN_LOGERROR3("WiFiServer::write: Not OK, size = ", size, ", written = ", written); + } + return written; } + +#else + +size_t WiFiServer::write(const uint8_t *buffer, size_t size) +{ + if (size == 0) + { + setWriteError(); + return 0; + } + + size_t written = ServerDrv::sendData(_sock, buffer, size); + + if (!written) + { + setWriteError(); + return 0; + } + + if (!ServerDrv::checkDataSent(_sock)) + { + setWriteError(); + return 0; + } + + return written; +} + +#endif diff --git a/src/WiFiServer_Generic.h b/src/WiFiServer_Generic.h index 25621c04..5480a56d 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFiStorage_Generic.cpp b/src/WiFiStorage_Generic.cpp index 1876316c..e2c96523 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #include "WiFiStorage_Generic.h" diff --git a/src/WiFiStorage_Generic.h b/src/WiFiStorage_Generic.h index b2157af7..464a9ec1 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once @@ -212,7 +213,7 @@ class WiFiStorageFile WiFiStorage.remove(filename); } - void flush(); + void flush() { }; void close() { diff --git a/src/WiFiUdp_Generic.cpp b/src/WiFiUdp_Generic.cpp index 5f0b15c6..e52a94b8 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #include diff --git a/src/WiFiUdp_Generic.h b/src/WiFiUdp_Generic.h index 2a66a6b6..1f0c96ba 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/WiFi_Generic.cpp b/src/WiFi_Generic.cpp index f8ad0538..c80a02d5 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #include "utility/wifi_drv.h" diff --git a/src/WiFi_Generic.h b/src/WiFi_Generic.h index a41c671f..54657681 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once @@ -44,19 +45,19 @@ // To eliminate FW warning when using not latest nina-fw version // To use whenever WiFi101-FirmwareUpdater-Plugin is not sync'ed with nina-fw version #if !defined(WIFI_FIRMWARE_LATEST_VERSION) - #define WIFI_FIRMWARE_LATEST_VERSION "1.4.8" + #define WIFI_FIRMWARE_LATEST_VERSION "1.5.0" #endif #define WIFI_HAS_FEED_WATCHDOG_FUNC -#define WIFININA_GENERIC_VERSION "WiFiNINA_Generic v1.8.14-5" +#define WIFININA_GENERIC_VERSION "WiFiNINA_Generic v1.8.14-6" #define WIFININA_GENERIC_VERSION_MAJOR 1 #define WIFININA_GENERIC_VERSION_MINOR 8 #define WIFININA_GENERIC_VERSION_PATCH 14 -#define WIFININA_GENERIC_VERSION_PATCH_MINOR 5 +#define WIFININA_GENERIC_VERSION_PATCH_MINOR 6 -#define WIFININA_GENERIC_VERSION_INT 1008014005 +#define WIFININA_GENERIC_VERSION_INT 1008014006 #include diff --git a/src/utility/WiFiSocketBuffer.cpp b/src/utility/WiFiSocketBuffer.cpp index b8f5fb64..45e2862c 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #include diff --git a/src/utility/WiFiSocketBuffer.h b/src/utility/WiFiSocketBuffer.h index c8bfe684..cd3825ce 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/debug.h b/src/utility/debug.h index 56cfd393..eec7e5cd 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/nano_rp2040_support.cpp b/src/utility/nano_rp2040_support.cpp index 236f877a..41bec1fc 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ //#ifdef ARDUINO_NANO_RP2040_CONNECT diff --git a/src/utility/server_drv.cpp b/src/utility/server_drv.cpp index 90cd26bf..99229a6e 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #define _DEBUG_ diff --git a/src/utility/server_drv.h b/src/utility/server_drv.h index 1a174e7b..e712176f 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/spi_drv.cpp b/src/utility/spi_drv.cpp index 2bdc0c32..76a007ee 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #include "Arduino.h" diff --git a/src/utility/spi_drv.h b/src/utility/spi_drv.h index 6c9fd08e..63499fe7 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/wifi_drv.cpp b/src/utility/wifi_drv.cpp index 38a1edea..f2b93fd0 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #include diff --git a/src/utility/wifi_drv.h b/src/utility/wifi_drv.h index a3e337bb..008c11bf 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/wifi_spi.h b/src/utility/wifi_spi.h index dc419fda..324a2521 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/wl_definitions.h b/src/utility/wl_definitions.h index 9eaa9594..75eb0c99 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once diff --git a/src/utility/wl_types.h b/src/utility/wl_types.h index 68dc9a9d..30cefe07 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-5 + Version: 1.8.14-6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -37,6 +37,7 @@ 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 + 1.8.14-6 K Hoang 17/08/2022 Add support to Teensy 4.x using WiFiNINA AirLift. Fix minor bug ***********************************************************************************************************************************/ #pragma once