diff --git a/README.md b/README.md index d72bbe8e..4c7d33c5 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,13 @@ [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing) [![GitHub issues](https://img.shields.io/github/issues/khoih-prog/WiFiNINA_Generic.svg)](http://github.com/khoih-prog/WiFiNINA_Generic/issues) +--- + +#### New in v1.5.3 + +1. Add function to support new WebSockets2_Generic Library +2. Update default pin-outs for nRF52 boards, especially NINA_112_ublox. + #### New in v1.5.2 1. Port FirmwareUpdater to permit ***nRF52, Teensy, SAMD21, SAMD51, etc.*** boards to update WiFiNINA W101/W102 firmware and SSL certificates using ***Arduino IDE WiFi101/WiFiNINA Firmware Updater.*** @@ -26,19 +33,25 @@ Again with credits of [Miguel Alexandre Wisintainer](https://github.com/tcpipchi With this library you can instantiate Servers, Clients and send/receive UDP packets through WiFiNINA. The board can connect either to open or encrypted networks (WEP, WPA). The IP address can be assigned statically or through a DHCP. The library can also manage DNS. +--- ## Prerequisite 1. [`Arduino IDE 1.8.12 or later` for Arduino](https://www.arduino.cc/en/Main/Software) - 2. [`Arduino Core for STM32 v1.8.0 or later`](https://github.com/khoih-prog/Arduino_Core_STM32) for STM32 boards - 3. [`Teensy core 1.51 or later`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.0, 3.6, 3.5, 3,2, 3.1, 3.0, LC) boards + 2. [`Arduino Core for STM32 v1.9.0 or later`](https://github.com/khoih-prog/Arduino_Core_STM32) for STM32 boards + 3. [`Teensy core 1.53 or later`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.0, 3.6, 3.5, 3,2, 3.1, 3.0, LC) boards 4. [`Arduino SAM DUE core 1.6.12 or later`](https://www.arduino.cc/en/Guide/ArduinoDue) for SAM DUE ARM Cortex-M3 boards - 5. [`Arduino SAMD core 1.8.5 or later`](https://www.arduino.cc/en/Guide/ArduinoM0) for SAMD ARM Cortex-M0+ boards - 6. [`Adafruit SAMD core 1.5.11 or later`](https://www.adafruit.com/) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.) - 7. [`Arduino Core for STM32 v1.8.0 or later`](https://github.com/khoih-prog/Arduino_Core_STM32) for STM32 boards - 8. [`Adafruit nRF52 v0.20.1 or later`](www.adafruit.com) for nRF52 boards such as AdaFruit Feather nRF52840 Express, NINA_B302_ublox, etc. + 5. [`Arduino SAMD core 1.8.6 or later`](https://www.arduino.cc/en/Guide/ArduinoM0) for SAMD ARM Cortex-M0+ boards + 6. [`Adafruit SAMD core 1.5.14 or later`](https://www.adafruit.com/) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.) + 8. [`Adafruit nRF52 v0.20.5 or later`](www.adafruit.com) for nRF52 boards such as AdaFruit Feather nRF52840 Express, NINA_B302_ublox, NINA_B112_ublox etc. +--- + +## Installation + +### Use Arduino Library Manager +The best and easiest way is to use `Arduino Library Manager`. Search for `WiFiNINA_Generic`, then select / install the latest version. +You can also use this link [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiNINA_Generic.svg?)](https://www.ardu-badge.com/WiFiNINA_Generic) for more detailed instructions. -## Quick Start ### Manual Install @@ -49,6 +62,17 @@ To install: 3. Extract the zip file to `WiFiNINA_Generic-master` directory 4. Copy whole `WiFiNINA_Generic-master/src` folder to Arduino libraries' directory such as `~/Arduino/libraries/`. +### VS Code & PlatformIO: + +1. Install [VS Code](https://code.visualstudio.com/) +2. Install [PlatformIO](https://platformio.org/platformio-ide) +3. Install **WiFiNINA_Generic** library by using [Library Manager](https://docs.platformio.org/en/latest/librarymanager/) +4. Use included [platformio.ini](examples/platformio/platformio.ini) file from examples to ensure that all dependent libraries will installed automaticly. + +[![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiNINA_Generic.svg?)](https://www.ardu-badge.com/WiFiNINA_Generic) + +--- + ### Using See examples : @@ -70,23 +94,25 @@ See examples : 16. [WiFiWebServer](examples/WiFiWebServer) 17. [WiFiNINA_SSL_Test](examples/WiFiNINA_SSL_Test) +--- + #### Important notes -1. To add NINA_B302_ublox boards running as nRF52840, you have to copy the whole nRF52 directory into Adafruit nRF52 directory. Supposing the Adafruit nRF52 version is 0.20.1 +1. To add NINA_B302_ublox and NINA_B112_ublox boards running as nRF52840/nRF52832, you have to copy the whole nRF52 directory into Adafruit nRF52 directory. Supposing the Adafruit nRF52 version is 0.20.5 These files must be copied into the directory: -- `nRF52/0.20.1/board.txt` -- `nRF52/0.20.1/variants/variant.h` -- `nRF52/0.20.1/variants/variant.cpp` +- `nRF52/0.20.5/board.txt` +- `nRF52/0.20.5/variants/variant.h` +- `nRF52/0.20.5/variants/variant.cpp` Whenever a new version is installed, remember to copy these files into the new version directory. For example, new version is x.yy.z These files must be copied into the directory: - `nRF52/x.yy.z/board.txt` - `nRF52/x.yy.z/variants/variant.h` - `nRF52/x.yy.z/variants/variant.cpp` -2. Please change the ***pin-to-pin connection*** in `WiFiNINA_Pinout_Generic.h` to match actual connection. The section for NINA_B302_ublox has been tested and working OK. +2. Please change the ***pin-to-pin connection*** in `WiFiNINA_Pinout_Generic.h` to match actual connection. The section for NINA_B302_ublox and NINA_B112_ublox has been tested and working OK. For example -``` +```cpp #elif ( defined(NINA_B302_ublox) ) #warning You have to modify pin usage according to actual connection for NRF528XX @@ -128,7 +154,6 @@ For example #define SPIWIFI_RESET 2 //NINA_RESETN // 2, IO21, P0.12 ``` - #### How to update WiFiNINA Firmware and SSL certificates Please see the [Arduino Tutorial](https://www.arduino.cc/en/Tutorial/WiFiNINAFirmwareUpdater) @@ -277,6 +302,13 @@ Sometimes, the library will only work if you update the `WiFiNINA module/shield` 1. Add support to many more boards still not working +--- + +#### New in v1.5.3 + +1. Add function to support new WebSockets2_Generic Library +2. Update default pin-outs for nRF52 boards, especially NINA_112_ublox. + #### New in v1.5.2 1. Port FirmwareUpdater to permit ***nRF52, Teensy, SAMD21, SAMD51, etc.*** boards to update WiFiNINA W101/W102 firmware and SSL certificates using ***Arduino IDE WiFi101/WiFiNINA Firmware Updater.*** @@ -293,10 +325,12 @@ Again with credits of [Miguel Alexandre Wisintainer](https://github.com/tcpipchi 1. The original [Arduino WiFiNINA library](http://www.arduino.cc/en/Reference/WiFiNINA) only supports very limited boards, such as: the Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000 and Arduino UNO WiFi Rev.2. This library is based on and modified from [Arduino WiFiNINA library](http://www.arduino.cc/en/Reference/WiFiNINA) to provide support for many more boards, such as SAM DUE, SAMD21, SAMD51, Teensy, AVR Mega, STM32, etc. +--- + ### Contributions and thanks -1. Forked from [Arduino WiFiNINA library](http://www.arduino.cc/en/Reference/WiFiNINA) -2. Thanks to great work of [Miguel Alexandre Wisintainer](https://github.com/tcpipchip) for initiating, inspriring, working with, developing, debugging and testing. Without that, support to nRF52, especially ***U-Box B302 running as nRF52840***, has never been started and finished. See [u-blox nina b](https://github.com/khoih-prog/WiFiNINA_Generic/issues/1) +1. Based on and modified from from [Arduino WiFiNINA library](http://www.arduino.cc/en/Reference/WiFiNINA) +2. Thanks to great work of [Miguel Alexandre Wisintainer](https://github.com/tcpipchip) for initiating, inspriring, working with, developing, debugging and testing. Without that, support to nRF52, especially ***U-Box B302 running as nRF52840 and U-Box B112 running as nRF52832***, has never been started and finished. See [u-blox nina b](https://github.com/khoih-prog/WiFiNINA_Generic/issues/1) ### Contributing diff --git a/examples/AP_SimpleWebServer/AP_SimpleWebServer.ino b/examples/AP_SimpleWebServer/AP_SimpleWebServer.ino index ccab818b..076bb2d8 100644 --- a/examples/AP_SimpleWebServer/AP_SimpleWebServer.ino +++ b/examples/AP_SimpleWebServer/AP_SimpleWebServer.ino @@ -21,7 +21,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -46,8 +46,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include #include diff --git a/examples/ConnectNoEncryption/ConnectNoEncryption.ino b/examples/ConnectNoEncryption/ConnectNoEncryption.ino index 1f4a33e8..07c04b4c 100644 --- a/examples/ConnectNoEncryption/ConnectNoEncryption.ino +++ b/examples/ConnectNoEncryption/ConnectNoEncryption.ino @@ -15,7 +15,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -40,8 +40,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include #include diff --git a/examples/ConnectWithWEP/ConnectWithWEP.ino b/examples/ConnectWithWEP/ConnectWithWEP.ino index 10543b8e..d7e9ae7c 100644 --- a/examples/ConnectWithWEP/ConnectWithWEP.ino +++ b/examples/ConnectWithWEP/ConnectWithWEP.ino @@ -25,7 +25,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -50,8 +50,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include #include diff --git a/examples/ConnectWithWPA/ConnectWithWPA.ino b/examples/ConnectWithWPA/ConnectWithWPA.ino index 6edab2b2..3af21f29 100644 --- a/examples/ConnectWithWPA/ConnectWithWPA.ino +++ b/examples/ConnectWithWPA/ConnectWithWPA.ino @@ -15,7 +15,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -40,8 +40,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include #include diff --git a/examples/ConnectWithWPA2Enterprise/ConnectWithWPA2Enterprise.ino b/examples/ConnectWithWPA2Enterprise/ConnectWithWPA2Enterprise.ino index d065739d..ff3723a6 100644 --- a/examples/ConnectWithWPA2Enterprise/ConnectWithWPA2Enterprise.ino +++ b/examples/ConnectWithWPA2Enterprise/ConnectWithWPA2Enterprise.ino @@ -12,7 +12,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -37,8 +37,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include #include diff --git a/examples/ScanNetworks/ScanNetworks.ino b/examples/ScanNetworks/ScanNetworks.ino index 6c485b2d..509d615e 100644 --- a/examples/ScanNetworks/ScanNetworks.ino +++ b/examples/ScanNetworks/ScanNetworks.ino @@ -19,7 +19,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -44,8 +44,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/examples/ScanNetworksAdvanced/ScanNetworksAdvanced.ino b/examples/ScanNetworksAdvanced/ScanNetworksAdvanced.ino index e758e239..2a5870ec 100644 --- a/examples/ScanNetworksAdvanced/ScanNetworksAdvanced.ino +++ b/examples/ScanNetworksAdvanced/ScanNetworksAdvanced.ino @@ -20,7 +20,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -45,8 +45,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/examples/SimpleWebServerWiFi/SimpleWebServerWiFi.ino b/examples/SimpleWebServerWiFi/SimpleWebServerWiFi.ino index 61af0ba5..fc39ef8b 100644 --- a/examples/SimpleWebServerWiFi/SimpleWebServerWiFi.ino +++ b/examples/SimpleWebServerWiFi/SimpleWebServerWiFi.ino @@ -27,7 +27,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -52,8 +52,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include #include diff --git a/examples/Tools/FirmwareUpdater/ESP32BootROM.cpp b/examples/Tools/FirmwareUpdater/ESP32BootROM.cpp index aaa77a54..503f7c30 100644 --- a/examples/Tools/FirmwareUpdater/ESP32BootROM.cpp +++ b/examples/Tools/FirmwareUpdater/ESP32BootROM.cpp @@ -7,7 +7,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -33,7 +33,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifdef ARDUINO_SAMD_MKRVIDOR4000 #include diff --git a/examples/Tools/FirmwareUpdater/ESP32BootROM.h b/examples/Tools/FirmwareUpdater/ESP32BootROM.h index 710a1b34..02c041f0 100644 --- a/examples/Tools/FirmwareUpdater/ESP32BootROM.h +++ b/examples/Tools/FirmwareUpdater/ESP32BootROM.h @@ -7,7 +7,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -33,7 +33,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/examples/Tools/FirmwareUpdater/Endianess.ino b/examples/Tools/FirmwareUpdater/Endianess.ino index 11167549..26a1c457 100644 --- a/examples/Tools/FirmwareUpdater/Endianess.ino +++ b/examples/Tools/FirmwareUpdater/Endianess.ino @@ -7,7 +7,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2015 Arduino LLC. All right reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -33,7 +33,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ bool isBigEndian() diff --git a/examples/Tools/FirmwareUpdater/FirmwareUpdater.ino b/examples/Tools/FirmwareUpdater/FirmwareUpdater.ino index fad46f67..30d8b55d 100644 --- a/examples/Tools/FirmwareUpdater/FirmwareUpdater.ino +++ b/examples/Tools/FirmwareUpdater/FirmwareUpdater.ino @@ -7,7 +7,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -33,7 +33,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include "ESP32BootROM.h" diff --git a/examples/WiFiChatServer/WiFiChatServer.ino b/examples/WiFiChatServer/WiFiChatServer.ino index 55cf54c6..cc673746 100644 --- a/examples/WiFiChatServer/WiFiChatServer.ino +++ b/examples/WiFiChatServer/WiFiChatServer.ino @@ -22,7 +22,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -47,8 +47,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 11.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include #include diff --git a/examples/WiFiNINA_SSL_Test/WiFiNINA_SSL_Test.ino b/examples/WiFiNINA_SSL_Test/WiFiNINA_SSL_Test.ino index 0b7f6480..d4e90530 100644 --- a/examples/WiFiNINA_SSL_Test/WiFiNINA_SSL_Test.ino +++ b/examples/WiFiNINA_SSL_Test/WiFiNINA_SSL_Test.ino @@ -15,7 +15,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -40,8 +40,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/examples/WiFiPing/WiFiPing.ino b/examples/WiFiPing/WiFiPing.ino index 2a178823..9d6c4afe 100644 --- a/examples/WiFiPing/WiFiPing.ino +++ b/examples/WiFiPing/WiFiPing.ino @@ -19,7 +19,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -44,8 +44,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include #include diff --git a/examples/WiFiSSLClient/WiFiSSLClient.ino b/examples/WiFiSSLClient/WiFiSSLClient.ino index 3b0a578c..4097d829 100644 --- a/examples/WiFiSSLClient/WiFiSSLClient.ino +++ b/examples/WiFiSSLClient/WiFiSSLClient.ino @@ -15,7 +15,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -40,8 +40,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/examples/WiFiUdpNtpClient/WiFiUdpNtpClient.ino b/examples/WiFiUdpNtpClient/WiFiUdpNtpClient.ino index 0b191b06..3044a879 100644 --- a/examples/WiFiUdpNtpClient/WiFiUdpNtpClient.ino +++ b/examples/WiFiUdpNtpClient/WiFiUdpNtpClient.ino @@ -20,7 +20,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -45,8 +45,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino b/examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino index 46e27786..831bc4bb 100644 --- a/examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino +++ b/examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -39,8 +39,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/examples/WiFiWebClient/WiFiWebClient.ino b/examples/WiFiWebClient/WiFiWebClient.ino index 3a2dc393..59ea6d42 100644 --- a/examples/WiFiWebClient/WiFiWebClient.ino +++ b/examples/WiFiWebClient/WiFiWebClient.ino @@ -23,7 +23,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -48,8 +48,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ diff --git a/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino b/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino index 4d908a25..1b028cd6 100644 --- a/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino +++ b/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino @@ -18,7 +18,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -43,8 +43,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/examples/WiFiWebServer/WiFiWebServer.ino b/examples/WiFiWebServer/WiFiWebServer.ino index 378c3459..bd6cd533 100644 --- a/examples/WiFiWebServer/WiFiWebServer.ino +++ b/examples/WiFiWebServer/WiFiWebServer.ino @@ -19,7 +19,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -44,8 +44,9 @@ such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. - 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52 boards to update W102 firmware and SSL certs on IDE - Update default pin-outs. + 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/library.json b/library.json index 3da37ec4..8a2dd3b9 100644 --- a/library.json +++ b/library.json @@ -1,7 +1,7 @@ { "name": "WiFiNINA_Generic", "keywords": "wifi, wi-fi, WiFiNINA, U-Blox B302, W101, W102, shield, Teensy, SAM DUE, SAMD, STM32, nRF52, Credentials, Manager", - "description": "Enables network connection (local and Internet) for SAM DUE, SAMD21, SAMD51, Teensy, AVR Mega, STM32, nRF52, U-blox B302, etc. in addition to Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000, Arduino UNO WiFi Rev.2 , Nano 33 IoT", + "description": "Enables network connection (local and Internet) for SAM DUE, SAMD21, SAMD51, Teensy, AVR Mega, STM32, nRF52, U-blox B302, B112, etc. in addition to Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000, Arduino UNO WiFi Rev.2 , Nano 33 IoT", "repository": { "type": "git", @@ -9,5 +9,5 @@ }, "frameworks": "arduino", "platforms": "*", - "version": "1.5.2" + "version": "1.5.3" } diff --git a/library.properties b/library.properties index 59b4880e..8c4ebdf1 100644 --- a/library.properties +++ b/library.properties @@ -1,8 +1,8 @@ name=WiFiNINA_Generic -version=1.5.2 +version=1.5.3 author=Arduino maintainer=Khoi Hoang -sentence=Enables network connection (local and Internet) for SAM DUE, SAMD21, SAMD51, Teensy, AVR Mega, STM32, nRF52, U-blox B302, etc. in addition to Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000, Arduino UNO WiFi Rev.2 , Nano 33 IoT. +sentence=Enables network connection (local and Internet) for SAM DUE, SAMD21, SAMD51, Teensy, AVR Mega, STM32, nRF52, U-blox B302, B112, etc., in addition to Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000, Arduino UNO WiFi Rev.2 , Nano 33 IoT. paragraph=With this library you can instantiate Servers, Clients and send/receive UDP packets through WiFiNINA. The board can connect either to open or encrypted networks (WEP, WPA). The IP address can be assigned statically or through a DHCP. The library can also manage DNS. category=Communication url=https://github.com/khoih-prog/WiFiNINA_Generic diff --git a/src/WiFiClient_Generic.cpp b/src/WiFiClient_Generic.cpp index 4ae8a34a..a820b140 100644 --- a/src/WiFiClient_Generic.cpp +++ b/src/WiFiClient_Generic.cpp @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ extern "C" { @@ -235,13 +236,18 @@ void WiFiClient::stop() { _sock = 255; } -uint8_t WiFiClient::connected() { - - if (_sock == 255) { +uint8_t WiFiClient::connected() +{ + if (_sock == 255) + { return 0; - } else if (available()) { + } + else if (available()) + { return 1; - } else { + } + else + { uint8_t s = status(); uint8_t result = !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 || @@ -249,12 +255,15 @@ uint8_t WiFiClient::connected() { s == SYN_SENT || s== SYN_RCVD || (s == CLOSE_WAIT)); - if (result == 0) { + if (result == 0) + { WiFiSocketBuffer.close(_sock); _sock = 255; } return result; + // KH Debug + //return 0; } } diff --git a/src/WiFiClient_Generic.h b/src/WiFiClient_Generic.h index 06339abf..6860bb83 100644 --- a/src/WiFiClient_Generic.h +++ b/src/WiFiClient_Generic.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef WiFiClient_Generic_h diff --git a/src/WiFiNINA_Generic.h b/src/WiFiNINA_Generic.h index 0bcbfb58..3cd96b9f 100644 --- a/src/WiFiNINA_Generic.h +++ b/src/WiFiNINA_Generic.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ diff --git a/src/WiFiNINA_Pinout_Generic.h b/src/WiFiNINA_Pinout_Generic.h index ea7a8e6e..651f765b 100644 --- a/src/WiFiNINA_Pinout_Generic.h +++ b/src/WiFiNINA_Pinout_Generic.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef WiFiNINA_Pinout_Generic_h diff --git a/src/WiFiSSLClient_Generic.cpp b/src/WiFiSSLClient_Generic.cpp index d8701395..d804e594 100644 --- a/src/WiFiSSLClient_Generic.cpp +++ b/src/WiFiSSLClient_Generic.cpp @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include "WiFiSSLClient_Generic.h" diff --git a/src/WiFiSSLClient_Generic.h b/src/WiFiSSLClient_Generic.h index 07651dee..a0cdf909 100644 --- a/src/WiFiSSLClient_Generic.h +++ b/src/WiFiSSLClient_Generic.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef WiFiSSLClient_Generic_h diff --git a/src/WiFiServer_Generic.cpp b/src/WiFiServer_Generic.cpp index 4b4006aa..d76e8216 100644 --- a/src/WiFiServer_Generic.cpp +++ b/src/WiFiServer_Generic.cpp @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include @@ -62,6 +63,22 @@ void WiFiServer::begin() } } +// KH, New 1.5.3 +void WiFiServer::begin(uint16_t port) +{ + _port = port; + begin(); +} + +// KH New, wrong +//bool WiFiServer::hasClient() +//{ +// if (_sock != NO_SOCKET_AVAIL) +// return true; +// return false; +//} + + WiFiClient WiFiServer::available(byte* status) { int sock = NO_SOCKET_AVAIL; diff --git a/src/WiFiServer_Generic.h b/src/WiFiServer_Generic.h index 3373b0ae..39448b2e 100644 --- a/src/WiFiServer_Generic.h +++ b/src/WiFiServer_Generic.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef WiFiServer_Generic_h @@ -54,8 +55,15 @@ class WiFiServer : public Server { void* pcb; public: WiFiServer(uint16_t); + // KH New + //bool hasClient(void); + WiFiClient available(uint8_t* status = NULL); void begin(); + + // KH, New 1.5.3 + void begin(uint16_t port); + virtual size_t write(uint8_t); virtual size_t write(const uint8_t *buf, size_t size); uint8_t status(); diff --git a/src/WiFiUdp_Generic.cpp b/src/WiFiUdp_Generic.cpp index a38f84c5..49019f26 100644 --- a/src/WiFiUdp_Generic.cpp +++ b/src/WiFiUdp_Generic.cpp @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/src/WiFiUdp_Generic.h b/src/WiFiUdp_Generic.h index 712b11ea..cd35bacf 100644 --- a/src/WiFiUdp_Generic.h +++ b/src/WiFiUdp_Generic.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef WiFiUDP_Generic_h diff --git a/src/WiFi_Generic.cpp b/src/WiFi_Generic.cpp index 731f0cdf..40c35146 100644 --- a/src/WiFi_Generic.cpp +++ b/src/WiFi_Generic.cpp @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include "utility/wifi_drv.h" diff --git a/src/WiFi_Generic.h b/src/WiFi_Generic.h index dcd1dab3..3187a0fe 100644 --- a/src/WiFi_Generic.h +++ b/src/WiFi_Generic.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef WiFi_Generic_h diff --git a/src/utility/WiFiSocketBuffer.cpp b/src/utility/WiFiSocketBuffer.cpp index 48a88d3c..5ebfdf88 100644 --- a/src/utility/WiFiSocketBuffer.cpp +++ b/src/utility/WiFiSocketBuffer.cpp @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/src/utility/WiFiSocketBuffer.h b/src/utility/WiFiSocketBuffer.h index f20ac7cb..f21ad955 100644 --- a/src/utility/WiFiSocketBuffer.h +++ b/src/utility/WiFiSocketBuffer.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef WiFiSocketBuffer_h diff --git a/src/utility/debug.h b/src/utility/debug.h index f70a2352..931f5833 100644 --- a/src/utility/debug.h +++ b/src/utility/debug.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ //*********************************************/ diff --git a/src/utility/server_drv.cpp b/src/utility/server_drv.cpp index 28cc5298..75f4c07c 100644 --- a/src/utility/server_drv.cpp +++ b/src/utility/server_drv.cpp @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #define _DEBUG_ diff --git a/src/utility/server_drv.h b/src/utility/server_drv.h index 028c41af..fe965ac2 100644 --- a/src/utility/server_drv.h +++ b/src/utility/server_drv.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef Server_Drv_h diff --git a/src/utility/spi_drv.cpp b/src/utility/spi_drv.cpp index 5cf1bc56..e461dd01 100644 --- a/src/utility/spi_drv.cpp +++ b/src/utility/spi_drv.cpp @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include "Arduino.h" diff --git a/src/utility/spi_drv.h b/src/utility/spi_drv.h index 6c4cf12a..c28597c7 100644 --- a/src/utility/spi_drv.h +++ b/src/utility/spi_drv.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef SPI_Drv_h diff --git a/src/utility/wifi_drv.cpp b/src/utility/wifi_drv.cpp index a1ca7ef8..b6fb1f86 100644 --- a/src/utility/wifi_drv.cpp +++ b/src/utility/wifi_drv.cpp @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #include diff --git a/src/utility/wifi_drv.h b/src/utility/wifi_drv.h index c57fb53a..cfe7bdc7 100644 --- a/src/utility/wifi_drv.h +++ b/src/utility/wifi_drv.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef WiFi_Drv_h diff --git a/src/utility/wifi_spi.h b/src/utility/wifi_spi.h index dd14dc3c..0fed9c00 100644 --- a/src/utility/wifi_spi.h +++ b/src/utility/wifi_spi.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ #ifndef WiFi_Spi_h diff --git a/src/utility/wl_definitions.h b/src/utility/wl_definitions.h index 1e061ca3..2d0a91f4 100644 --- a/src/utility/wl_definitions.h +++ b/src/utility/wl_definitions.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ /***************************** * wl_definitions.h diff --git a/src/utility/wl_types.h b/src/utility/wl_types.h index ba26ae3e..0002b955 100644 --- a/src/utility/wl_types.h +++ b/src/utility/wl_types.h @@ -6,7 +6,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESP8266_AT_WebServer Licensed under MIT license - Version: 1.5.2 + Version: 1.5.3 Copyright (c) 2018 Arduino SA. All rights reserved. Copyright (c) 2011-2014 Arduino LLC. All right reserved. @@ -32,7 +32,8 @@ 1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc. 1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA - W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + W101/W102 firmware and SSL certs on IDE. Update default pin-outs. + 1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library *****************************************************************************************************************************/ /******************************* * wl_types.h