From 8414ca71325bcdc48c8bb4f753cd6980400fe76c Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Sat, 26 Feb 2022 21:04:21 -0500 Subject: [PATCH] v1.10.1 to reduce `QNEthernet` latency ### Release v1.10.1 1. Reduce QNEthernet latency. Check [QNEthernet higher latency #38](https://github.com/khoih-prog/WebSockets2_Generic/issues/38) 2. Update `Packages' Patches` --- CONTRIBUTING.md | 13 +- README.md | 556 +++--------------- changelog.md | 6 + library.json | 20 +- library.properties | 4 +- platformio/platformio.ini | 40 +- src/Tiny_Websockets_Generic/client.hpp | 25 +- .../internals/data_frame.hpp | 25 +- .../internals/websockets_endpoint.hpp | 25 +- .../internals/ws_common.hpp | 25 +- .../ws_common_Ethernet_Portenta_H7.hpp | 25 +- .../internals/ws_common_Ethernet_W5x00.hpp | 25 +- .../internals/ws_common_LAN8742AEthernet.hpp | 25 +- .../internals/ws_common_NativeEthernet.hpp | 25 +- .../internals/ws_common_QNEthernet.hpp | 25 +- .../internals/ws_common_UIPEthernet.hpp | 25 +- .../internals/ws_common_WiFi101.hpp | 25 +- .../internals/ws_common_WiFiNINA.hpp | 25 +- .../internals/ws_common_WiFi_Portenta_H7.hpp | 25 +- .../internals/wscrypto/crypto.hpp | 25 +- .../internals/wscrypto/sha1.hpp | 25 +- src/Tiny_Websockets_Generic/message.hpp | 25 +- .../DUE_Ethernet_W5x00_tcp.hpp | 25 +- .../DUE_UIPEthernet/DUE_UIPEthernet_tcp.hpp | 25 +- .../Portenta_H7_Ethernet_tcp.hpp | 25 +- .../Portenta_H7_WiFi/Portenta_H7_WiFi_tcp.hpp | 25 +- .../RP2040_Ethernet_W5x00_tcp.hpp | 27 +- .../RP2040_UIPEthernet_tcp.hpp | 25 +- .../RP2040_WiFiNINA/RP2040_WiFiNINA_tcp.hpp | 25 +- .../SAMD_Ethernet_W5x00_tcp.hpp | 25 +- .../SAMD_UIPEthernet/SAMD_UIPEthernet_tcp.hpp | 25 +- .../network/SAMD_WiFi101/SAMD_WiFi101_tcp.hpp | 25 +- .../SAMD_WiFiNINA/SAMD_WiFiNINA_tcp.hpp | 25 +- .../STM32_Ethernet_W5x00_tcp.hpp | 25 +- .../STM32_LAN8742AEthernet_tcp.hpp | 25 +- .../STM32_UIPEthernet_tcp.hpp | 25 +- .../STM32_WiFiNINA/STM32_WiFiNINA_tcp.hpp | 25 +- .../Teensy41_NativeEthernet_tcp.hpp | 25 +- .../Teensy41_QNEthernet_tcp.hpp | 34 +- .../Teensy_Ethernet_W5x00_tcp.hpp | 27 +- .../Teensy_UIPEthernet_tcp.hpp | 25 +- .../network/esp32/esp32_tcp.hpp | 25 +- .../network/esp8266/esp8266_tcp.hpp | 25 +- .../generic_esp/generic_esp_clients.hpp | 25 +- .../network/linux/linux_tcp_client.hpp | 25 +- .../network/linux/linux_tcp_server.hpp | 25 +- .../nRF52_Ethernet_W5x00_tcp.hpp | 27 +- .../nRF52_UIPEthernet_tcp.hpp | 25 +- .../nRF52_WiFiNINA/nRF52_WiFiNINA_tcp.hpp | 25 +- .../network/tcp_client.hpp | 25 +- .../network/tcp_server.hpp | 25 +- .../network/tcp_socket.hpp | 25 +- .../network/windows/win_tcp_client.hpp | 25 +- .../network/windows/win_tcp_server.hpp | 25 +- src/Tiny_Websockets_Generic/server.hpp | 25 +- .../ws_config_defs.hpp | 25 +- src/WebSockets2_Generic.h | 31 +- src/WebSockets2_Generic_Client.hpp | 25 +- src/WebSockets2_Generic_Common.hpp | 25 +- src/WebSockets2_Generic_Crypto.hpp | 25 +- src/WebSockets2_Generic_Debug.h | 25 +- src/WebSockets2_Generic_Endpoint.hpp | 25 +- src/WebSockets2_Generic_Message.hpp | 25 +- src/WebSockets2_Generic_Server.hpp | 25 +- 64 files changed, 324 insertions(+), 1786 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e78faf0..7004c189 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,8 +14,9 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p Please ensure to specify the following: -* Arduino IDE version (e.g. 1.8.18) or Platform.io version -* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, ArduinoCore-mbed v2.6.1, etc.) +* Arduino IDE version (e.g. 1.8.19) or Platform.io version +* `RP2040` Core Version (e.g. Arduino-mbed RP2040 v2.7.2 or arduino-pico core v1.12.0) +* `RP2040` Board type (e.g. NANO_RP2040_CONNECT, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040, GENERIC_RP2040, etc.) * Contextual information (e.g. what you were trying to achieve) * Simplest possible steps to reproduce * Anything that might be relevant in your opinion, such as: @@ -26,11 +27,11 @@ Please ensure to specify the following: ### Example ``` -Arduino IDE version: 1.8.18 -NANO_RP2040_CONNECT board -ArduinoCore-mbed v2.6.1 +Arduino IDE version: 1.8.19 +Arduino-mbed mbed_nano v2.7.2 +NANO_RP2040_CONNECT Module OS: Ubuntu 20.04 LTS -Linux xy-Inspiron-3593 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux +Linux xy-Inspiron-3593 5.4.0-100-generic #113-Ubuntu SMP Thu Feb 3 18:43: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 6309ac71..fa440d7c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing) [![GitHub issues](https://img.shields.io/github/issues/khoih-prog/WebSockets2_Generic.svg)](http://github.com/khoih-prog/WebSockets2_Generic/issues) +Donate to my libraries using BuyMeACoffee + + --- --- @@ -121,7 +124,7 @@ #### Features -Many Web services require WebSockets library, which is so far written only for ESP8266/ESP32 boards. The ESP boards so far rely on the [**Markus Sattler's WebSockets Library**](https://github.com/Links2004/arduinoWebSockets) to connect to Alexa via Sinric or SinricPro skills. +Many Web services require WebSockets library, which is so far written only for ESP8266/ESP32 boards. The ESP boards so far rely on the [**Markus Sattler's WebSockets Library**](https://github.com/Links2004/arduinoWebSockets) to connect to `Alexa` via `Sinric` or `SinricPro` skills. This [**WebSockets2_Generic library**](https://github.com/khoih-prog/WebSockets2_Generic) is based on and modified from [**Gil Maimon's ArduinoWebSockets Library**](https://github.com/gilmaimon/ArduinoWebsockets) to provide support to many more boards, such as **WT32_ETH01 (ESP32 + LAN8720), Arduino SAMD21, Adafruit SAMD21/SAMD51, Seeeduino SAMD21/SAMD51, nRF52, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, Portenta_H7, etc.** and enable those boards to use WebSockets services, including voice-controlled Alexa along with Blynk. Those supported boards can also run **WebSockets Server.** The WebSockets can be used with **ESP’s WiFi, WiFiNINA, WiFi101, W5x00/ENC28J60/LAN8742A Ethernet, Teensy 4.1 NativeEthernet/QNEthernet, ESP8266/ESP32-AT modules/shields, Portenta_H7 WiFi/Ethernet, RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040, using WiFiNINA**. @@ -185,6 +188,8 @@ This [**WebSockets_Generic2** library](https://github.com/khoih-prog/WebSockets2 12. **RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040**, using WiFiNINA +--- + #### Currently supported WiFi shields/modules 1. WiFiNINA using [`WiFiNINA_Generic library`](https://github.com/khoih-prog/WiFiNINA_Generic) @@ -193,6 +198,8 @@ This [**WebSockets_Generic2** library](https://github.com/khoih-prog/WebSockets2 4. ESP32 and ESP8266 WiFi 5. **Portenta_H7 built-in Murata WiFi** +--- + #### Currently supported Ethernet shields/modules 1. W5x00 using [`Ethernet`](https://www.arduino.cc/en/Reference/Ethernet), [`EthernetLarge`](https://github.com/OPEnSLab-OSU/EthernetLarge), [`Ethernet2`](https://github.com/adafruit/Ethernet2) or [`Ethernet3`](https://github.com/sstaub/Ethernet3) library @@ -212,41 +219,41 @@ This [**WebSockets_Generic2** library](https://github.com/khoih-prog/WebSockets2 ## Prerequisites - 1. [`Arduino IDE 1.8.18+` for Arduino](https://www.arduino.cc/en/Main/Software). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest) - 2. [`Arduino AVR core 1.8.3+`](https://github.com/arduino/ArduinoCore-avr) for Arduino (Use Arduino Board Manager) 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 v1.55+`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.1, 4.0, 3.6, 3.5, 3,2, 3.1, 3.0) boards. + 1. [`Arduino IDE 1.8.19+` for Arduino](https://www.arduino.cc/en/Main/Software). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest) + 2. [`Arduino AVR core 1.8.5+`](https://github.com/arduino/ArduinoCore-avr) for Arduino (Use Arduino Board Manager) 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 v1.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) boards. 4. [`Arduino SAM DUE core v1.6.12+`](https://github.com/arduino/ArduinoCore-sam) for SAM DUE ARM Cortex-M3 boards. - 5. [`Arduino SAMD core 1.8.12+`](https://github.com/arduino/ArduinoCore-samd) 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.5+`](https://github.com/adafruit/ArduinoCore-samd) 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) + 5. [`Arduino SAMD core 1.8.13+`](https://github.com/arduino/ArduinoCore-samd) 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.9+`](https://github.com/adafruit/ArduinoCore-samd) 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/) - 8. [`Adafruit nRF52 v1.2.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) 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. [`ESP32 Core 2.0.1+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/) + 8. [`Adafruit nRF52 v1.3.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) 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. [`ESP32 Core 2.0.2+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/) 10. [`ESP8266 Core 3.0.2+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [![Latest release](https://img.shields.io/github/release/esp8266/Arduino.svg)](https://github.com/esp8266/Arduino/releases/latest/). To use ESP8266 core 2.7.1+ for LittleFS. -11. [`ArduinoCore-mbed mbed_rp2040, mbed_nano, mbed_portenta core 2.6.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) **Portenta_H7, RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) -12. [`Earle Philhower's arduino-pico core v1.9.8+`](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) -13. [`Arduino Core for STM32 v2.1.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) +11. [`ArduinoCore-mbed mbed_rp2040, mbed_nano, mbed_portenta core 2.7.2+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) **Portenta_H7, RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) +12. [`Earle Philhower's arduino-pico core v1.12.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) +13. [`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) -14. [`WiFiNINA_Generic library v1.8.14-1+`](https://github.com/khoih-prog/WiFiNINA_Generic) if for WiFiNINA. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiNINA_Generic.svg?)](https://www.ardu-badge.com/WiFiNINA_Generic). -15. [`EthernetWebServer library v1.7.1+`](https://github.com/khoih-prog/EthernetWebServer) if necessary to use Ethernet modules/shields. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer.svg?)](https://www.ardu-badge.com/EthernetWebServer) -16. [`EthernetWebServer_STM32 library v1.2.1+`](https://github.com/khoih-prog/EthernetWebServer_STM32) if necessary to use Ethernet modules/shields. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer_STM32.svg?)](https://www.ardu-badge.com/EthernetWebServer_STM32) +14. [`WiFiNINA_Generic library v1.8.14-3+`](https://github.com/khoih-prog/WiFiNINA_Generic) if for WiFiNINA. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiNINA_Generic.svg?)](https://www.ardu-badge.com/WiFiNINA_Generic). +15. [`EthernetWebServer library v2.0.0+`](https://github.com/khoih-prog/EthernetWebServer) if necessary to use Ethernet modules/shields. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer.svg?)](https://www.ardu-badge.com/EthernetWebServer) +16. [`EthernetWebServer_STM32 library v1.3.3+`](https://github.com/khoih-prog/EthernetWebServer_STM32) if necessary to use Ethernet modules/shields. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer_STM32.svg?)](https://www.ardu-badge.com/EthernetWebServer_STM32) 17. [`WebServer_WT32_ETH01 library v1.4.1+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) if necessary to use WT32_ETH01 boards. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WebServer_WT32_ETH01.svg?)](https://www.ardu-badge.com/WebServer_WT32_ETH01) 18. Depending on which Ethernet card you're using: - [`Ethernet library v2.0.0+`](https://github.com/arduino-libraries/Ethernet) for W5100, W5200 and W5500. [![GitHub release](https://img.shields.io/github/release/arduino-libraries/Ethernet.svg)](https://github.com/arduino-libraries/Ethernet/releases/latest). You can also use the forked and modified library at [Patched Ethernet](https://github.com/khoih-prog/Ethernet) - [`EthernetLarge library v2.0.0+`](https://github.com/OPEnSLab-OSU/EthernetLarge) for W5100, W5200 and W5500. You can also use the forked and modified library at [Patched EthernetLarge](https://github.com/khoih-prog/EthernetLarge) - [`Ethernet2 library v1.0.4+`](https://github.com/khoih-prog/Ethernet2) for W5500. [![GitHub release](https://img.shields.io/github/release/adafruit/Ethernet2.svg)](https://github.com/adafruit/Ethernet2/releases/latest). You can also use the forked and modified library at [Patched Ethernet2](https://github.com/khoih-prog/Ethernet2) - [`Ethernet3 library v1.5.5+`](https://github.com/sstaub/Ethernet3) for W5500/WIZ550io/WIZ850io/USR-ES1 with Wiznet W5500 chip. [![GitHub release](https://img.shields.io/github/release/sstaub/Ethernet3.svg)](https://github.com/sstaub/Ethernet3/releases/latest). You can also use the forked and modified library at [Patched Ethernet3](https://github.com/khoih-prog/Ethernet3) - - [`EthernetENC library v2.0.1+`](https://github.com/jandrassy/EthernetENC) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/jandrassy/EthernetENC.svg)](https://github.com/jandrassy/EthernetENC/releases/latest). **New and Better** - - [`UIPEthernet library v2.0.10+`](https://github.com/UIPEthernet/UIPEthernet) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/UIPEthernet/UIPEthernet.svg)](https://github.com/UIPEthernet/UIPEthernet/releases/latest) + - [`EthernetENC library v2.0.2+`](https://github.com/jandrassy/EthernetENC) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/jandrassy/EthernetENC.svg)](https://github.com/jandrassy/EthernetENC/releases/latest). **New and Better** + - [`UIPEthernet library v2.0.11+`](https://github.com/UIPEthernet/UIPEthernet) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/UIPEthernet/UIPEthernet.svg)](https://github.com/UIPEthernet/UIPEthernet/releases/latest) - [`STM32Ethernet library v1.2.0+`](https://github.com/stm32duino/STM32Ethernet) for built-in LAN8742A Ethernet on (Nucleo-144, Discovery). [![GitHub release](https://img.shields.io/github/release/stm32duino/STM32Ethernet.svg)](https://github.com/stm32duino/STM32Ethernet/releases/latest). To be used with [`LwIP library v2.1.2+`](https://github.com/stm32duino/LwIP). [![GitHub release](https://img.shields.io/github/release/stm32duino/LwIP.svg)](https://github.com/stm32duino/LwIP/releases/latest). - [`NativeEthernet Library version stable111+`](https://github.com/vjmuzik/NativeEthernet) for Teensy 4.1 built-in Ethernet. - - [`QNEthernet Library version v0.11.0+`](https://github.com/ssilverman/QNEthernet) for Teensy 4.1 built-in Ethernet. + - [`QNEthernet Library version v0.13.0+`](https://github.com/ssilverman/QNEthernet) for Teensy 4.1 built-in Ethernet. -19. [`WiFiWebServer library v1.4.2+`](https://github.com/khoih-prog/WiFiWebServer) if necessary to use certain WiFi/WiFiNINA features. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiWebServer.svg?)](https://www.ardu-badge.com/WiFiWebServer) -20. [`FlashStorage_SAMD library v1.2.1+`](https://github.com/khoih-prog/FlashStorage_SAMD) for SAMD21 and SAMD51 boards (ZERO, MKR, NANO_33_IOT, M0, M0 Pro, AdaFruit Itsy-Bitsy M4, etc.) if necessary to use certain features. [![GitHub release](https://img.shields.io/github/release/khoih-prog/FlashStorage_SAMD.svg)](https://github.com/khoih-prog/FlashStorage_SAMD/releases/latest) -21. [`FlashStorage_STM32 library v1.1.0+`](https://github.com/khoih-prog/FlashStorage_STM32) for STM32F/L/H/G/WB/MP1 boards. [![GitHub release](https://img.shields.io/github/release/khoih-prog/FlashStorage_STM32.svg)](https://github.com/khoih-prog/FlashStorage_STM32/releases/latest) if necessary to use certain features. +19. [`WiFiWebServer library v1.6.2+`](https://github.com/khoih-prog/WiFiWebServer) if necessary to use certain WiFi/WiFiNINA features. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiWebServer.svg?)](https://www.ardu-badge.com/WiFiWebServer) +20. [`FlashStorage_SAMD library v1.3.2+`](https://github.com/khoih-prog/FlashStorage_SAMD) for SAMD21 and SAMD51 boards (ZERO, MKR, NANO_33_IOT, M0, M0 Pro, AdaFruit Itsy-Bitsy M4, etc.) if necessary to use certain features. [![GitHub release](https://img.shields.io/github/release/khoih-prog/FlashStorage_SAMD.svg)](https://github.com/khoih-prog/FlashStorage_SAMD/releases/latest) +21. [`FlashStorage_STM32 library v1.2.0+`](https://github.com/khoih-prog/FlashStorage_STM32) for STM32F/L/H/G/WB/MP1 boards. [![GitHub release](https://img.shields.io/github/release/khoih-prog/FlashStorage_STM32.svg)](https://github.com/khoih-prog/FlashStorage_STM32/releases/latest) if necessary to use certain features. 22. [`DueFlashStorage library v1.0.0+`](https://github.com/sebnil/DueFlashStorage) for SAM DUE if necessary to use certain features. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/DueFlashStorage.svg?)](https://www.ardu-badge.com/DueFlashStorage). 23. [`Adafruit's LittleFS/InternalFS`](https://www.adafruit.com) for nRF52. Already included if you already installed Adafruit **nRF52 board package** from Boards Manager. -24. [`DoubleResetDetector_Generic v1.7.3+`](https://github.com/khoih-prog/DoubleResetDetector_Generic) if necessary to use some examples. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/DoubleResetDetector_Generic.svg?)](https://www.ardu-badge.com/DoubleResetDetector_Generic) if necessary to use certain features. +24. [`DoubleResetDetector_Generic v1.8.0+`](https://github.com/khoih-prog/DoubleResetDetector_Generic) if necessary to use some examples. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/DoubleResetDetector_Generic.svg?)](https://www.ardu-badge.com/DoubleResetDetector_Generic) if necessary to use certain features. 25. [`Modified WiFi101 Library v0.16.1+`](https://github.com/khoih-prog/WiFi101) to use SAMD MKR1000, etc. boards with WiFi101. --- @@ -271,7 +278,7 @@ Another way to install is to: 1. Install [VS Code](https://code.visualstudio.com/) 2. Install [PlatformIO](https://platformio.org/platformio-ide) -3. Install [**WebSockets2_Generic** library](https://platformio.org/lib/show/11239/WebSockets2_Generic) by using [Library Manager](https://platformio.org/lib/show/11239/WebSockets2_Generic/installation). Search for **WebSockets2_Generic** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22) +3. Install [**WebSockets2_Generic** library](https://registry.platformio.org/libraries/khoih-prog/WebSockets2_Generic) by using [Library Manager](https://registry.platformio.org/libraries/khoih-prog/WebSockets2_Generic/installation). Search for **WebSockets2_Generic** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22) 4. Use included [platformio.ini](platformio/platformio.ini) file from examples to ensure that all dependent libraries will installed automatically. Please visit documentation for the other options and examples at [Project Configuration File](https://docs.platformio.org/page/projectconf.html) --- @@ -281,19 +288,19 @@ Another way to install is to: #### 1. For Adafruit nRF52840 and nRF52832 boards -**To be able to compile, run and automatically detect and display BOARD_NAME on nRF52840/nRF52832 boards**, you have to copy the whole [nRF52 Packages_Patches](Packages_Patches/adafruit/hardware/nrf52/1.2.0) directory into Adafruit nRF52 directory (~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0). +**To be able to compile, run and automatically detect and display BOARD_NAME on nRF52840/nRF52832 boards**, you have to copy the whole [nRF52 Packages_Patches](Packages_Patches/adafruit/hardware/nrf52/1.3.0) directory into Adafruit nRF52 directory (~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0). -Supposing the Adafruit nRF52 version is 1.2.0. These files must be copied into the directory: -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/platform.txt` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/boards.txt` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/cores/nRF5/Udp.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/cores/nRF5/Print.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/cores/nRF5/Print.cpp` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/variants/NINA_B302_ublox/variant.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/variants/NINA_B302_ublox/variant.cpp` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/variants/NINA_B112_ublox/variant.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/variants/NINA_B112_ublox/variant.cpp` -- **`~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/cores/nRF5/Udp.h`** +Supposing the Adafruit nRF52 version is 1.3.0. These files must be copied into the directory: +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/platform.txt` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/boards.txt` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/cores/nRF5/Udp.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/cores/nRF5/Print.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/cores/nRF5/Print.cpp` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/variants/NINA_B302_ublox/variant.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/variants/NINA_B302_ublox/variant.cpp` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/variants/NINA_B112_ublox/variant.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/variants/NINA_B112_ublox/variant.cpp` +- **`~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/cores/nRF5/Udp.h`** 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: @@ -311,14 +318,14 @@ These files must be copied into the directory: #### 2. For Teensy boards - **To be able to compile and run on Teensy boards**, you have to copy the files in [**Packages_Patches for Teensy directory**](Packages_Patches/hardware/teensy/avr) into Teensy hardware directory (./arduino-1.8.18/hardware/teensy/avr/boards.txt). + **To be able to compile and run on Teensy boards**, you have to copy the files in [**Packages_Patches for Teensy directory**](Packages_Patches/hardware/teensy/avr) into Teensy hardware directory (./arduino-1.8.19/hardware/teensy/avr/boards.txt). -Supposing the Arduino version is 1.8.18. These files must be copied into the directory: +Supposing the Arduino version is 1.8.19. These files must be copied into the directory: -- `./arduino-1.8.18/hardware/teensy/avr/boards.txt` -- `./arduino-1.8.18/hardware/teensy/avr/cores/teensy/Stream.h` -- `./arduino-1.8.18/hardware/teensy/avr/cores/teensy3/Stream.h` -- `./arduino-1.8.18/hardware/teensy/avr/cores/teensy4/Stream.h` +- `./arduino-1.8.19/hardware/teensy/avr/boards.txt` +- `./arduino-1.8.19/hardware/teensy/avr/cores/teensy/Stream.h` +- `./arduino-1.8.19/hardware/teensy/avr/cores/teensy3/Stream.h` +- `./arduino-1.8.19/hardware/teensy/avr/cores/teensy4/Stream.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 These files must be copied into the directory: @@ -382,13 +389,13 @@ Whenever the above-mentioned compiler error issue is fixed with the new Arduino #### 5. For Adafruit SAMD boards - ***To be able to compile, run and automatically detect and display BOARD_NAME on Adafruit SAMD (Itsy-Bitsy M4, etc) boards***, you have to copy the whole [Adafruit SAMD Packages_Patches](Packages_Patches/adafruit/hardware/samd/1.7.5) directory into Adafruit samd directory (~/.arduino15/packages/adafruit/hardware/samd/1.7.5). + ***To be able to compile, run and automatically detect and display BOARD_NAME on Adafruit SAMD (Itsy-Bitsy M4, etc) boards***, you have to copy the whole [Adafruit SAMD Packages_Patches](Packages_Patches/adafruit/hardware/samd/1.7.9) directory into Adafruit samd directory (~/.arduino15/packages/adafruit/hardware/samd/1.7.9). -Supposing the Adafruit SAMD core version is 1.7.5. This file must be copied into the directory: +Supposing the Adafruit SAMD core version is 1.7.9. This file must be copied into the directory: -- `~/.arduino15/packages/adafruit/hardware/samd/1.7.5/platform.txt` -- `~/.arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino/Print.h` -- `~/.arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino/Print.cpp` +- `~/.arduino15/packages/adafruit/hardware/samd/1.7.9/platform.txt` +- `~/.arduino15/packages/adafruit/hardware/samd/1.7.9/cores/arduino/Print.h` +- `~/.arduino15/packages/adafruit/hardware/samd/1.7.9/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: @@ -426,12 +433,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.1.0/system/STM32F4xx) and [stm32f7xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.1.0/system/STM32F7xx) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.1.0/system) to overwrite the old files. +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. -Supposing the STM32 stm32 core version is 2.1.0. These files must be copied into the directory: +Supposing the STM32 stm32 core version is 2.2.0. These files must be copied into the directory: -- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/system/STM32F4xx/stm32f4xx_hal_conf_default.h` for STM32F4. -- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/system/STM32F7xx/stm32f7xx_hal_conf_default.h` for Nucleo-144 STM32F7. +- `~/.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. 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: @@ -442,12 +449,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.1.0) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.1.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.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. -Supposing the STM32 stm32 core version is 2.1.0. These files must be copied into the directory: +Supposing the STM32 stm32 core version is 2.2.0. These files must be copied into the directory: -- `~/.arduino15/packages/STM32/hardware/stm32/2.1.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.1.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.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. 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: @@ -490,12 +497,12 @@ With core after v1.5.0, this step is not necessary anymore thanks to the PR [Add #### 9. For Portenta_H7 boards using Arduino IDE in Linux - **To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/2.6.1/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1/portenta_post_install.sh). + **To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/2.7.2/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/2.7.2/portenta_post_install.sh). Then run the following command using `sudo` ``` -$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1 +$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/2.7.2 $ chmod 755 portenta_post_install.sh $ sudo ./portenta_post_install.sh ``` @@ -508,9 +515,9 @@ This will create the file `/etc/udev/rules.d/49-portenta_h7.rules` as follows: SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="035b", GROUP="plugdev", MODE="0666" ``` -Supposing the ArduinoCore-mbed core version is 2.6.1. Now only one file must be copied into the directory: +Supposing the ArduinoCore-mbed core version is 2.7.2. Now only one file must be copied into the directory: -- `~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1/portenta_post_install.sh` +- `~/.arduino15/packages/arduino/hardware/mbed_portenta/2.7.2/portenta_post_install.sh` Whenever a new version is installed, remember to copy this files into the new version directory. For example, new version is x.yy.zz @@ -1615,394 +1622,13 @@ Please take a look at other examples, as well. #### 1. File [SAMD-Client_SINRIC.ino](examples/Generic/WiFiNINA/SAMD/SAMD-Client_SINRIC/SAMD-Client_SINRIC.ino) -```cpp -#include "defines.h" - -#define DEBUG_LOCAL 2 +https://github.com/khoih-prog/WebSockets2_Generic/blob/aef0fba324bac40647ecc3387f0cb505e8c39d98/examples/Generic/WiFiNINA/SAMD/SAMD-Client_SINRIC/SAMD-Client_SINRIC.ino#L1-L263 -#include -#include // https://arduinojson.org/ or install via Arduino library manager - -using namespace websockets2_generic; - -WebsocketsClient client; - -#define HEARTBEAT_INTERVAL 300000 // 5 Minutes - -bool isConnected = false; -uint64_t heartbeatTimestamp = 0; -uint64_t now = 0; - -//To increase no of devices as needed -void turnOn(String deviceId) -{ - if (deviceId == SINRIC_Device_ID_1) // Device ID of 1st device - { -#if (DEBUG_LOCAL > 1) - Serial.print("Turn on device id: "); - Serial.println(deviceId); -#endif - digitalWrite(LED_PIN, HIGH); - } - else - { -#if (DEBUG_LOCAL > 1) - Serial.print("Turn on for unknown device id: "); - Serial.println(deviceId); -#endif - } -} - -//To increase no of devices as needed -void turnOff(String deviceId) -{ - - if (deviceId == SINRIC_Device_ID_1) // Device ID of 1st device - { -#if (DEBUG_LOCAL > 1) - Serial.print("Turn off Device ID: "); - Serial.println(deviceId); -#endif - digitalWrite(LED_PIN, LOW); - } - else - { -#if (DEBUG_LOCAL > 1) - Serial.print("Turn off for unknown device id: "); - Serial.println(deviceId); -#endif - } -} - -void onEventsCallback(WebsocketsEvent event, String data) -{ - if (event == WebsocketsEvent::ConnectionOpened) - { - if (!isConnected) - isConnected = true; - - Serial.println("Connnection Opened"); - } - else if (event == WebsocketsEvent::ConnectionClosed) - { - if (isConnected) - isConnected = false; - - Serial.println("Connnection Closed"); - } - else if (event == WebsocketsEvent::GotPing) - { - if (!isConnected) - isConnected = true; - - Serial.println("Got a Ping!"); - } - else if (event == WebsocketsEvent::GotPong) - { - if (!isConnected) - isConnected = true; - - Serial.println("Got a Pong!"); - } -} - -void onMessagesCallback(WebsocketsMessage message) -{ - String SINRIC_message = message.data(); - - Serial.print("Got Message: "); - Serial.println(SINRIC_message /*message.data()*/); - - // Example payloads - - // For Switch or Light device types - // {"deviceId": xxxx, "action": "setPowerState", value: "ON"} // https://developer.amazon.com/docs/device-apis/alexa-powercontroller.html - - // For Light device type - // Look at the light example in github - -#if (ARDUINOJSON_VERSION_MAJOR >= 6) - DynamicJsonDocument json(1024); - //auto deserializeError = deserializeJson(json, (char*)message.data()); - auto deserializeError = deserializeJson(json, SINRIC_message); - - if ( deserializeError ) - { - Serial.println("JSON parseObject() failed"); - return; - } - //serializeJson(json, Serial); -#else - DynamicJsonBuffer jsonBuffer; - // Parse JSON string - JsonObject& json = jsonBuffer.parseObject(SINRIC_message); - // Test if parsing succeeds. - if (!json.success()) - { - Serial.println("JSON parseObject() failed"); - return; - } -#endif - - String deviceId = json ["deviceId"]; - String action = json ["action"]; - - if (action == "setPowerState") - { - // Switch or Light - String value = json ["value"]; - if (value == "ON") - { - turnOn(deviceId); - } - else - { - turnOff(deviceId); - } - } -} - -void setup() -{ - pinMode(LED_PIN, OUTPUT); - digitalWrite(LED_PIN, LOW); - - Serial.begin(115200); - while (!Serial); - - Serial.println("\nStarting SAMD-Client_SINRIC with WiFiNINA on " + String(BOARD_NAME)); - Serial.println(WEBSOCKETS2_GENERIC_VERSION); - - // check for the WiFi module: - if (WiFi.status() == WL_NO_MODULE) - { - Serial.println("Communication with WiFi module failed!"); - // don't continue - return; - } - - String fv = WiFi.firmwareVersion(); - if (fv < WIFI_FIRMWARE_LATEST_VERSION) - { - Serial.println("Please upgrade the firmware"); - } - - Serial.print("Attempting to connect to SSID: "); - Serial.println(ssid); - - // Connect to wifi - WiFi.begin(ssid, password); - - // Wait some time to connect to wifi - for (int i = 0; i < 10 && WiFi.status() != WL_CONNECTED; i++) - { - Serial.print("."); - delay(1000); - } - - if (WiFi.status() == WL_CONNECTED) - { - Serial.print("Connected to Wifi, IP address: "); - Serial.println(WiFi.localIP()); - Serial.print("Connecting to WebSockets Server @"); - Serial.println(websockets_server_host); - } - else - { - Serial.println("\nNo WiFi"); - return; - } - - // run callback when events are occuring - client.onMessage(onMessagesCallback); - - // try to connect to Websockets server - client.addHeader("apikey", SINRIC_API_KEY); - client.setAuthorization("apikey", SINRIC_API_KEY); - - bool connected = client.connect(websockets_server_host, websockets_server_port, "/"); - - if (connected) - { - Serial.println("Connected!"); - } - else - { - Serial.println("Not Connected!"); - } -} - -void loop() -{ - // let the websockets client check for incoming messages - if (client.available()) - { - client.poll(); - - now = millis(); - - // Send heartbeat in order to avoid disconnections during ISP resetting IPs over night. Thanks @MacSass - if ((now - heartbeatTimestamp) > HEARTBEAT_INTERVAL) - { - heartbeatTimestamp = now; - client.send("H"); - } - } -} -``` #### 2. File [defines.h](examples/Generic/WiFiNINA/SAMD/SAMD-Client_SINRIC/defines.h) -```cpp -#ifndef defines_h -#define defines_h - -#if ( defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_MKRWIFI1010) \ - || defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_SAMD_MKRFox1200) || defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) \ - || defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_SAMD_MKRVIDOR4000) || defined(__SAMD21G18A__) \ - || defined(ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS) || defined(__SAMD21E18A__) || defined(__SAMD51__) || defined(__SAMD51J20A__) || defined(__SAMD51J19A__) \ - || defined(__SAMD51G19A__) || defined(__SAMD51P19A__) || defined(__SAMD21G18A__) ) -#if defined(WEBSOCKETS_WIFININA_USE_SAMD) -#undef WEBSOCKETS_WIFININA_USE_SAMD -#endif -#define WEBSOCKETS_USE_WIFININA true -#define WEBSOCKETS_WIFININA_USE_SAMD true -#else -#error This code is intended to run only on the SAMD boards ! Please check your Tools->Board setting. -#endif - -#if defined(WEBSOCKETS_WIFININA_USE_SAMD) - -#if defined(ARDUINO_SAMD_ZERO) -#define BOARD_TYPE "SAMD Zero" -#elif defined(ARDUINO_SAMD_MKR1000) -#define BOARD_TYPE "SAMD MKR1000" -#elif defined(ARDUINO_SAMD_MKRWIFI1010) -#define BOARD_TYPE "SAMD MKRWIFI1010" -#elif defined(ARDUINO_SAMD_NANO_33_IOT) -#define BOARD_TYPE "SAMD NANO_33_IOT" -#elif defined(ARDUINO_SAMD_MKRFox1200) -#define BOARD_TYPE "SAMD MKRFox1200" -#elif ( defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) ) -#define BOARD_TYPE "SAMD MKRWAN13X0" -#elif defined(ARDUINO_SAMD_MKRGSM1400) -#define BOARD_TYPE "SAMD MKRGSM1400" -#elif defined(ARDUINO_SAMD_MKRNB1500) -#define BOARD_TYPE "SAMD MKRNB1500" -#elif defined(ARDUINO_SAMD_MKRVIDOR4000) -#define BOARD_TYPE "SAMD MKRVIDOR4000" -#elif defined(ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS) -#define BOARD_TYPE "SAMD ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS" -#elif defined(ADAFRUIT_FEATHER_M0_EXPRESS) -#define BOARD_TYPE "SAMD21 ADAFRUIT_FEATHER_M0_EXPRESS" -#elif defined(ADAFRUIT_METRO_M0_EXPRESS) -#define BOARD_TYPE "SAMD21 ADAFRUIT_METRO_M0_EXPRESS" -#elif defined(ADAFRUIT_CIRCUITPLAYGROUND_M0) -#define BOARD_TYPE "SAMD21 ADAFRUIT_CIRCUITPLAYGROUND_M0" -#elif defined(ADAFRUIT_GEMMA_M0) -#define BOARD_TYPE "SAMD21 ADAFRUIT_GEMMA_M0" -#elif defined(ADAFRUIT_TRINKET_M0) -#define BOARD_TYPE "SAMD21 ADAFRUIT_TRINKET_M0" -#elif defined(ADAFRUIT_ITSYBITSY_M0) -#define BOARD_TYPE "SAMD21 ADAFRUIT_ITSYBITSY_M0" -#elif defined(ARDUINO_SAMD_HALLOWING_M0) -#define BOARD_TYPE "SAMD21 ARDUINO_SAMD_HALLOWING_M0" -#elif defined(ADAFRUIT_METRO_M4_EXPRESS) -#define BOARD_TYPE "SAMD51 ADAFRUIT_METRO_M4_EXPRESS" -#elif defined(ADAFRUIT_GRAND_CENTRAL_M4) -#define BOARD_TYPE "SAMD51 ADAFRUIT_GRAND_CENTRAL_M4" -#elif defined(ADAFRUIT_FEATHER_M4_EXPRESS) -#define BOARD_TYPE "SAMD51 ADAFRUIT_FEATHER_M4_EXPRESS" -#elif defined(ADAFRUIT_ITSYBITSY_M4_EXPRESS) -#define BOARD_TYPE "SAMD51 ADAFRUIT_ITSYBITSY_M4_EXPRESS" -#elif defined(ADAFRUIT_TRELLIS_M4_EXPRESS) -#define BOARD_TYPE "SAMD51 ADAFRUIT_TRELLIS_M4_EXPRESS" -#elif defined(ADAFRUIT_PYPORTAL) -#define BOARD_TYPE "SAMD51 ADAFRUIT_PYPORTAL" -#elif defined(ADAFRUIT_PYPORTAL_M4_TITANO) -#define BOARD_TYPE "SAMD51 ADAFRUIT_PYPORTAL_M4_TITANO" -#elif defined(ADAFRUIT_PYBADGE_M4_EXPRESS) -#define BOARD_TYPE "SAMD51 ADAFRUIT_PYBADGE_M4_EXPRESS" -#elif defined(ADAFRUIT_METRO_M4_AIRLIFT_LITE) -#define BOARD_TYPE "SAMD51 ADAFRUIT_METRO_M4_AIRLIFT_LITE" -#elif defined(ADAFRUIT_PYGAMER_M4_EXPRESS) -#define BOARD_TYPE "SAMD51 ADAFRUIT_PYGAMER_M4_EXPRESS" -#elif defined(ADAFRUIT_PYGAMER_ADVANCE_M4_EXPRESS) -#define BOARD_TYPE "SAMD51 ADAFRUIT_PYGAMER_ADVANCE_M4_EXPRESS" -#elif defined(ADAFRUIT_PYBADGE_AIRLIFT_M4) -#define BOARD_TYPE "SAMD51 ADAFRUIT_PYBADGE_AIRLIFT_M4" -#elif defined(ADAFRUIT_MONSTER_M4SK_EXPRESS) -#define BOARD_TYPE "SAMD51 ADAFRUIT_MONSTER_M4SK_EXPRESS" -#elif defined(ADAFRUIT_HALLOWING_M4_EXPRESS) -#define BOARD_TYPE "SAMD51 ADAFRUIT_HALLOWING_M4_EXPRESS" -#elif defined(SEEED_WIO_TERMINAL) -#define BOARD_TYPE "SAMD SEEED_WIO_TERMINAL" -#elif defined(SEEED_FEMTO_M0) -#define BOARD_TYPE "SAMD SEEED_FEMTO_M0" -#elif defined(SEEED_XIAO_M0) -#define BOARD_TYPE "SAMD SEEED_XIAO_M0" -#elif defined(Wio_Lite_MG126) -#define BOARD_TYPE "SAMD SEEED Wio_Lite_MG126" -#elif defined(WIO_GPS_BOARD) -#define BOARD_TYPE "SAMD SEEED WIO_GPS_BOARD" -#elif defined(SEEEDUINO_ZERO) -#define BOARD_TYPE "SAMD SEEEDUINO_ZERO" -#elif defined(SEEEDUINO_LORAWAN) -#define BOARD_TYPE "SAMD SEEEDUINO_LORAWAN" -#elif defined(SEEED_GROVE_UI_WIRELESS) -#define BOARD_TYPE "SAMD SEEED_GROVE_UI_WIRELESS" -#elif defined(__SAMD21E18A__) -#define BOARD_TYPE "SAMD21E18A" -#elif defined(__SAMD21G18A__) -#define BOARD_TYPE "SAMD21G18A" -#elif defined(__SAMD51G19A__) -#define BOARD_TYPE "SAMD51G19A" -#elif defined(__SAMD51J19A__) -#define BOARD_TYPE "SAMD51J19A" -#elif defined(__SAMD51J20A__) -#define BOARD_TYPE "SAMD51J20A" -#elif defined(__SAM3X8E__) -#define BOARD_TYPE "SAM3X8E" -#elif defined(__CPU_ARC__) -#define BOARD_TYPE "CPU_ARC" -#elif defined(__SAMD51__) -#define BOARD_TYPE "SAMD51" -#else -#define BOARD_TYPE "SAMD Unknown" -#endif - -#endif - -#ifndef BOARD_NAME - #define BOARD_NAME BOARD_TYPE -#endif - -#include - -#define DEBUG_WEBSOCKETS_PORT Serial -// Debug Level from 0 to 4 -#define _WEBSOCKETS_LOGLEVEL_ 3 +https://github.com/khoih-prog/WebSockets2_Generic/blob/aef0fba324bac40647ecc3387f0cb505e8c39d98/examples/Generic/WiFiNINA/SAMD/SAMD-Client_SINRIC/defines.h#L17-L164 -const char* ssid = "ssid"; //Enter SSID -const char* password = "password"; //Enter Password - -#define SINRIC_WEBSERVER "iot.sinric.com" -#define SINRIC_WEBSERVER_PORT 80 -#define SINRIC_API_KEY "11111111-2222-3333-4444-555555555555" - -#define SINRIC_Device_ID_1 "012345678901234567890123" // Device ID, got from Sinric - -const char* websockets_server_host = SINRIC_WEBSERVER; //Enter server address -const uint16_t websockets_server_port = SINRIC_WEBSERVER_PORT; // Enter server port - -#ifdef LED_BUILTIN -#define LED_PIN LED_BUILTIN -#else -#define LED_PIN 13 -#endif - -#endif //defines_h -``` --- @@ -2012,7 +1638,7 @@ This is the terminal output when running [SAMD-Client_SINRIC](examples/Generic/W ``` Starting WebSockets2_Generic SAMD-Client_SINRIC with WiFiNINA on SAMD NANO_33_IOT -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 WiFi-begin: return1 = 3 WiFi-begin: return2 = 3 Connected to Wifi, Connecting to WebSockets Server @iot.sinric.com @@ -2152,7 +1778,7 @@ This is terminal debug output when running [SAMD-Ethernet-Client_SINRIC](example ``` Starting WebSockets2_Generic SAMD-Ethernet-Client_SINRIC on SAMD ADAFRUIT_ITSYBITSY_M4_EXPRESS Ethernet using ENC28J60 and UIPEthernet Library -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 ENC28J60_CONTROL_CS =16 SS =16 SPI_MOSI =25 @@ -2201,7 +1827,7 @@ This is terminal debug output when running [SAMDUE-Ethernet-Server](examples/Gen ``` Starting WebSockets2_Generic SAMDUE-Ethernet-Server on SAM DUE Ethernet using W5x00 and EthernetLarge Library -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 W5100 init, using SS_PIN_DEFAULT = 10, new ss_pin = 10, W5100Class::ss_pin = 10 W5100::init: W5100, SSIZE =4096 WebSockets Server Running and Ready on SAM DUE @@ -2236,7 +1862,7 @@ This is terminal debug output when running [nRF52-Ethernet-Server](examples/Gene ``` Starting WebSockets2_Generic nRF52-Ethernet-Server on NRF52840_ITSYBITSY_EXPRESS Ethernet using ENC28J60 and UIPEthernet Library -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 ENC28J60_CONTROL_CS =10 SS =5 SPI_MOSI =24 @@ -2274,7 +1900,7 @@ This is terminal debug output when running [STM32-Ethernet-Client_SINRIC](exampl ``` Starting WebSockets2_Generic STM32-Ethernet-Client_SINRIC on NUCLEO_F767ZI Ethernet using LAN8742A and STM32Ethernet Library -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 WebSockets Client IP address: 192.168.2.135 Connecting to WebSockets Server @iot.sinric.com [WS] WebsocketsClient::generateHandshake: base64Authorization = ******** @@ -2321,7 +1947,7 @@ This is the terminal debug output when running [SAMDUE-Ethernet_ServerAllFunctio ``` Start Generic_WebSocketServerAllFunctionsDemo_W5500 -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 W5100 init, using SS_PIN_DEFAULT = 10, new ss_pin = 10, W5100Class::ss_pin = 10 W5100::init: W5100, SSIZE =4096 WebSockets Server IP address: 192.168.2.95 @@ -2384,7 +2010,7 @@ This is terminal debug output when running [STM32-Ethernet-Client_SINRIC_LAN8720 ``` Starting STM32-Ethernet-Client_SINRIC_LAN8720 on BLACK_F407VE Ethernet using LAN8720 and STM32Ethernet Library -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 WebSockets Client IP address: 192.168.2.160 Connecting to WebSockets Server @iot.sinric.com [WS] WebsocketsClient::generateHandshake: base64Authorization = YXBpa2V5OjkxMjdkNDc4LTExNjAtNDE4OC04MDQ4LTQ3OWJhNWM2OTExNA== @@ -2427,7 +2053,7 @@ This is terminal debug output when running [ESP32-Client_SINRIC](examples/ESP32/ ``` Starting ESP32-Client_SINRIC on ESP32S2_DEV -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 ....Connected to Wifi, Connecting to WebSockets Server @iot.sinric.com [WS] WebsocketsClient::generateHandshake: base64Authorization = YXBpa2V5OjkxMjdkNDc4LTExNjAtNDE4OC04MDQ4LTQ3OWJhNWM2OTExNA== [WS] WebsocketsClient::generateHandshake: handshake = GET / HTTP/1.1 @@ -2471,7 +2097,7 @@ This is terminal debug output when running [Secured-ESP32-Client](examples/ESP32 ``` Starting WebSockets Secured-ESP32-Client on ESP32S2_DEV -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 .... Connected to Wifi, Connecting to WebSockets Server @wss://echo.websocket.org/ [WS] WebsocketsClient::doestStartsWith: str = wss://echo.websocket.org/ @@ -2531,7 +2157,7 @@ This is terminal debug output when running [InSecured-ESP32-Client](examples/ESP ``` Starting WebSockets InSecured-ESP32-Client on ESP32_DEV -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 ... Connected to Wifi, Connecting to WebSockets Server @wss://echo.websocket.org/ [WS] WebsocketsClient::doestStartsWith: str = wss://echo.websocket.org/ @@ -2592,7 +2218,7 @@ This is terminal debug output when running [ESP8266-Client_SINRIC](examples/ESP3 ``` Starting ESP8266-Client_SINRIC on ESP8266_NODEMCU_ESP12E -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 ......Connected to Wifi, Connecting to WebSockets Server @iot.sinric.com [WS] WebsocketsClient::generateHandshake: base64Authorization = YXBpa2V5OjkxMjdkNDc4LTExNjAtNDE4OC04MDQ4LTQ3OWJhNWM2OTExNA== [WS] WebsocketsClient::generateHandshake: handshake = GET / HTTP/1.1 @@ -2634,7 +2260,7 @@ This is terminal debug output when running [RP2040-Ethernet-Client_SINRIC](examp ``` Starting RP2040-Ethernet-Client_SINRIC on RASPBERRY_PI_PICO Ethernet using W5x00 and EthernetLarge Library -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 _pinCS = 0 W5100 init, using SS_PIN_DEFAULT = 10, new ss_pin = 10, W5100Class::ss_pin = 17 W5100::init: W5500, SSIZE =8192 @@ -2692,7 +2318,7 @@ This is terminal debug output when running [RP2040-Ethernet-Client_SINRIC](examp ``` Starting RP2040-Ethernet-Client_SINRIC on RaspberryPi Pico Ethernet using W5x00 and EthernetLarge Library -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 _pinCS = 0 W5100 init, using SS_PIN_DEFAULT = 5, new ss_pin = 10, W5100Class::ss_pin = 5 W5100::init: W5500, SSIZE =8192 @@ -2750,7 +2376,7 @@ This is terminal debug output when running [WT32_ETH01_Client_SINRIC](examples/W ``` Starting WT32_ETH01_Client_SINRIC on ESP32_DEV with ETH_PHY_LAN8720 WebServer_WT32_ETH01 v1.4.1 -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps Connected. Connecting to WebSockets Server @iot.sinric.com [WS] WebsocketsClient::generateHandshake: base64Authorization = YXBpa2V5OjkxMjdkNDc4LTExNjAtNDE4OC04MDQ4LTQ3OWJhNWM2OTExNA== @@ -2796,7 +2422,7 @@ This is terminal debug output when running [WT32_ETH01_SecuredClient](examples/W ``` Starting WT32_ETH01_SecuredClient on ESP32_DEV with ETH_PHY_LAN8720 WebServer_WT32_ETH01 v1.4.1 -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232, FULL_DUPLEX, 100Mbps Connected. Connecting to WebSockets Server @wss://echo.websocket.org/ [WS] WebsocketsClient::doestStartsWith: str = wss://echo.websocket.org/ @@ -2855,7 +2481,7 @@ This is terminal debug output when running [WT32_ETH01_AdvancedWebServer](exampl ``` Starting WT32_ETH01_AdvancedWebServer on ESP32_DEV with ETH_PHY_LAN8720 WebServer_WT32_ETH01 v1.4.1 -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.95, FULL_DUPLEX, 100Mbps MDNS responder started WebSockets Server Running and Ready on WT32-ETH01 @@ -2894,7 +2520,7 @@ This is terminal debug output and screenshot when running [SocketAndHttp_Teensy4 ``` Start SocketAndHttp_Teensy41_Server on TEENSY 4.1 using QNEthernet -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 =========== USE_QN_ETHERNET =========== Initialize Ethernet using DHCP => Connected! IP address:192.168.2.119 Visit http://192.168.2.119 in the browser to connect. @@ -2935,7 +2561,7 @@ This is terminal debug output when running [MultiClients_Teensy41_Server](exampl ``` Starting MultiClients_Teensy41_Server on TEENSY 4.1 using QNEthernet -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 =========== USE_QN_ETHERNET =========== Initialize Ethernet using DHCP => Connected! IP address:192.168.2.119 Server available at ws://192.168.2.119:81 @@ -2967,7 +2593,7 @@ Got Message: Hello to Server from ESP32 ``` Starting ESP32-RepeatingClient on ESP32_DEV -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 ....Connected to Wifi, Connecting to WebSockets Server @192.168.2.119 [WS] WebsocketsClient::generateHandshake: base64Authorization = [WS] WebsocketsClient::generateHandshake: handshake = GET / HTTP/1.1 @@ -3009,7 +2635,7 @@ This is terminal debug output when running [Portenta_H7_Ethernet_Server](example ``` Starting Portenta_H7_Ethernet_Server on PORTENTA_H7_M7 Ethernet using Portenta_Ethernet Library -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 WebSockets Client @ IP address: 192.168.2.132 Server available at ws://192.168.2.132:8080 [WS] WebsocketsServer::recvHandshakeRequest: value = 192.168.2.132 @@ -3045,7 +2671,7 @@ This is terminal debug output when running [Portenta_H7-Client_SINRIC](examples/ ``` Starting Portenta_H7-Client_SINRIC using WiFi on PORTENTA_H7_M7 -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 Connecting to SSID: HueNet1 Connected to Wifi, IP address: 192.168.2.130 Connecting to WebSockets Server @iot.sinric.com @@ -3093,7 +2719,7 @@ This is terminal debug output when running [Portenta_H7-Client_SINRIC](examples/ ``` Starting RP2040-AdvancedWebServer with WiFiNINA on MBED NANO_RP2040_CONNECT -WebSockets2_Generic v1.10.0 +WebSockets2_Generic v1.10.1 Attempting to connect to SSID: HueNet1 Connected to Wifi, IP address: 192.168.2.96 WebSockets Server Running and Ready on MBED NANO_RP2040_CONNECT @@ -3205,7 +2831,7 @@ Submit issues to: [WebSockets2_Generic issues](https://github.com/khoih-prog/Web 1. Support more boards (Teensy, etc.) 2. Support ESP8266/ESP32-AT shields. - 3. Add SSL support to SAMD21/SAMD51 and nRF52 using WiFiNINA. + 3. Add SSL client support to SAMD21/SAMD51 and nRF52 using WiFiNINA. 4. Support more non-compatible Ethernet Libraries such as Ethernet_Shield_W5200, EtherCard, EtherSia 5. Add mDNS features. @@ -3244,6 +2870,7 @@ Submit issues to: [WebSockets2_Generic issues](https://github.com/khoih-prog/Web 28. Add support to **RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040**, using WiFiNINA 29. Auto detect ESP32 core to use for WT32_ETH01 30. Fix bug in WT32_ETH01 examples to reduce connection time +31. Reduce QNEthernet latency --- @@ -3259,6 +2886,8 @@ Submit issues to: [WebSockets2_Generic issues](https://github.com/khoih-prog/Web 6. Thanks to [Jose A.Molina](https://github.com/Josua2012) for the enhancement request [**MKR1000 and WIFI problem and another problem** #20](https://github.com/khoih-prog/WebSockets2_Generic/issues/20), and help testing, leading to new version v1.3.0 to support WiFi101 and MKD1000 / MKR1010WiFi boards. 7. Thanks to [Robert Viens](https://github.com/Sirpercal) for posting the issue [**Compile error with Arduino Nano RP2040** #32](https://github.com/khoih-prog/WebSockets2_Generic/issues/32), leading to v1.8.0. 8. Thanks [Shawn Silverman](https://github.com/ssilverman), [QNEthernet library](https://github.com/ssilverman/QNEthernet) author, for PR [**Fix QNEthernet TCP interface** #35](https://github.com/khoih-prog/WebSockets2_Generic/pull/35) leading to v1.9.1 +9. Thanks [5b4wn](https://github.com/5b4wn) for issue report and proposed fix in [**QNEthernet higher latency** #38](https://github.com/khoih-prog/WebSockets2_Generic/issues/38) leading to v1.10.1 + @@ -3272,6 +2901,7 @@ Submit issues to: [WebSockets2_Generic issues](https://github.com/khoih-prog/Web +
Sirpercal
Robert Viens

ssilverman
Shawn Silverman

5b4wn
5b4wn

diff --git a/changelog.md b/changelog.md index bb51ff81..5d6f7b6a 100644 --- a/changelog.md +++ b/changelog.md @@ -12,6 +12,7 @@ ## Table of Contents * [Changelog](#changelog) + * [Release v1.10.1](#release-v1101) * [Major Release v1.10.0](#major-release-v1100) * [Release v1.9.1](#release-v191) * [Major Release v1.9.0](#major-release-v190) @@ -42,6 +43,11 @@ ## Changelog +### Release v1.10.1 + +1. Reduce QNEthernet latency. Check [QNEthernet higher latency #38](https://github.com/khoih-prog/WebSockets2_Generic/issues/38) +2. Update `Packages' Patches` + ### Major Release v1.10.0 1. Supporting case-insensitive headers, according to RFC2616 diff --git a/library.json b/library.json index 9e9cf582..db9bee50 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "WebSockets2_Generic", - "version": "1.10.0", + "version": "1.10.1", "description": "WebSocket Server and Client for Arduino based on RFC6455, originally designed for ESP8266/ESP32. Now supports ESP8266, ESP32 (including ESP32-C3; ESP32-S2 Saola, AI-Thinker ESP-12K, WT32_ETH01, etc.), nRF52, SAMD21, SAMD51, SAM DUE, STM32F/L/H/G/WB/MP1, Teensy, RP2040-based, Portenta_H7, etc. boards, with WiFiNINA, Teensy 4.1 NativeEthernet/QNEthernet, Ethernet W5x00/ENC28J60/LAN8742A/LAN8720, ESP8266/ESP32-AT modules/shields, Portenta_H7 WiFi/Ethernet, as well as SINRIC / Alexa / Google Home. With updated SSL CA Certs, Fingerprint and InSecure mode.", "keywords": "communication, wifinina, wt32-eth01, websocket, webserver, Sinric, Alexa, ethernet, QNEthernet, NativeEthernet, lan8742a, lan8720, esp32, esp8266, stm32, samd, nrf52, rp2040, ssl, Portenta-H7, wifi, wifi101, sam-due, rpi-pico, esp32-s2, esp32-c3", "authors": [ @@ -34,19 +34,19 @@ { "owner": "khoih-prog", "name": "WiFiNINA_Generic", - "version": ">=1.8.14-1", + "version": ">=1.8.14-3", "platforms": ["*"] }, { "owner": "khoih-prog", "name": "DoubleResetDetector_Generic", - "version": ">=1.7.3", + "version": ">=1.8.0", "platforms": ["*"] }, { "owner": "khoih-prog", "name": "FlashStorage_SAMD", - "version": ">=1.2.1", + "version": ">=1.3.2", "platforms": ["atmelsam"] }, { @@ -58,13 +58,13 @@ { "owner": "khoih-prog", "name": "WiFiWebServer", - "version": ">=1.4.2", + "version": ">=1.6.2", "platforms": ["*"] }, { "owner": "khoih-prog", "name": "EthernetWebServer", - "version": ">=1.7.1", + "version": ">=2.0.0", "platforms": ["*"] }, { @@ -76,7 +76,7 @@ { "owner": "khoih-prog", "name": "EthernetWebServer_STM32", - "version": ">=1.2.1", + "version": ">=1.3.3", "platforms": ["ststm32"] }, { @@ -106,13 +106,13 @@ { "owner": "jandrassy", "name": "EthernetENC", - "version": ">=2.0.1", + "version": ">=2.0.2", "platforms": ["*"] }, { "owner": "jandrassy", "name": "WiFiEspAT", - "version": ">=1.3.1", + "version": ">=1.3.2", "platforms": ["*"] }, { @@ -146,7 +146,7 @@ { "owner": "ssilverman", "name": "QNEthernet", - "version": ">=0.11.0", + "version": ">=0.13.0", "platforms": ["teensy"] } ], diff --git a/library.properties b/library.properties index 534a95a3..23203348 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=WebSockets2_Generic -version=1.10.0 +version=1.10.1 author=Gil Maimon , Khoi Hoang maintainer=Khoi Hoang sentence=A WebSocket Server and Client library for Arduino, based on RFC6455, for writing modern Websockets applications. @@ -8,5 +8,5 @@ category=Communication url=https://github.com/khoih-prog/WebSockets2_Generic license=GPLv3 architectures=* -includes=WebSockets2_Generic.h depends=WiFiNINA_Generic, WiFiWebServer, EthernetWebServer, WebServer_WT32_ETH01, EthernetWebServer_STM32, DoubleResetDetector_Generic, SinricPro_Generic, FlashStorage_SAMD +includes=WebSockets2_Generic.h diff --git a/platformio/platformio.ini b/platformio/platformio.ini index f99a3d3c..2c3f5bad 100644 --- a/platformio/platformio.ini +++ b/platformio/platformio.ini @@ -40,44 +40,44 @@ lib_compat_mode = strict lib_deps = ; PlatformIO 4.x - WiFiNINA_Generic@~1.8.14-1 - WiFiWebServer@~1.4.2 - EthernetWebServer@~1.7.1 + WiFiNINA_Generic@~1.8.14-3 + WiFiWebServer@~1.6.2 + EthernetWebServer@~2.0.0 WebServer_WT32_ETH01@~1.4.1 - EthernetWebServer_STM32@>=1.2.1 + EthernetWebServer_STM32@>=1.3.3 Ethernet@~2.0.0 EthernetLarge@~2.0.0 Ethernet2@~1.0.4 Ethernet3@~1.5.5 - EthernetENC@~2.0.1 + EthernetENC@~2.0.2 UIPEthernet@~2.0.8 STM32duino LwIP@>=2.1.2 STM32duino STM32Ethernet@>=1.2.0 - DoubleResetDetector_Generic@>=1.7.3 - SinricPro_Generic@>=2.8.3 - FlashStorage_SAMD@>=1.2.1 - FlashStorage_STM32@~1.1.0 - QNEthernet@>=0.11.0 + DoubleResetDetector_Generic@>=1.8.0 + SinricPro_Generic@>=2.8.4 + FlashStorage_SAMD@>=1.3.2 + FlashStorage_STM32@~1.2.0 + QNEthernet@>=0.13.0 https://github.com/khoih-prog/WiFi101 ; PlatformIO 5.x -; khoih-prog/WiFiNINA_Generic@~1.8.14-1 -; khoih-prog/WiFiWebServer@~1.4.2 -; khoih-prog/EthernetWebServer@~1.7.1 +; khoih-prog/WiFiNINA_Generic@~1.8.14-3 +; khoih-prog/WiFiWebServer@~1.6.2 +; khoih-prog/EthernetWebServer@~2.0.0 ; khoih-prog/WebServer_WT32_ETH01@~1.4.1 -; khoih-prog/EthernetWebServer_STM32@>=1.2.1 +; khoih-prog/EthernetWebServer_STM32@>=1.3.3 ; PaulStoffregen/Ethernet@~2.0.0 ; PaulStoffregen/EthernetLarge@~2.0.0 ; adafruit/Ethernet2@~1.0.4 ; sstaub/Ethernet3@~1.5.5 -; jandrassy/EthernetENC@~2.0.1 +; jandrassy/EthernetENC@~2.0.2 ; UIPEthernet/UIPEthernet@~2.0.8 ; stm32duino/STM32duino LwIP@>=2.1.2 ; stm32duino/STM32duino STM32Ethernet@>=1.2.0 -; khoih-prog/DoubleResetDetector_Generic@>=1.7.3 -; khoih-prog/SinricPro_Generic@>=2.8.3 -; khoih-prog/FlashStorage_SAMD@~1.2.1 -; khoih-prog/FlashStorage_STM32@~1.1.0 -; ssilverman/QNEthernet@>=0.11.0 +; khoih-prog/DoubleResetDetector_Generic@>=1.8.0 +; khoih-prog/SinricPro_Generic@>=2.8.4 +; khoih-prog/FlashStorage_SAMD@~1.3.2 +; khoih-prog/FlashStorage_STM32@~1.2.0 +; ssilverman/QNEthernet@>=0.13.0 ; https://github.com/khoih-prog/WiFi101 build_flags = diff --git a/src/Tiny_Websockets_Generic/client.hpp b/src/Tiny_Websockets_Generic/client.hpp index 2b4199bf..a289481b 100644 --- a/src/Tiny_Websockets_Generic/client.hpp +++ b/src/Tiny_Websockets_Generic/client.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef _CLIENT_HPP_ diff --git a/src/Tiny_Websockets_Generic/internals/data_frame.hpp b/src/Tiny_Websockets_Generic/internals/data_frame.hpp index 71ad3750..5489df5f 100644 --- a/src/Tiny_Websockets_Generic/internals/data_frame.hpp +++ b/src/Tiny_Websockets_Generic/internals/data_frame.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/websockets_endpoint.hpp b/src/Tiny_Websockets_Generic/internals/websockets_endpoint.hpp index 335c46ad..6790918b 100644 --- a/src/Tiny_Websockets_Generic/internals/websockets_endpoint.hpp +++ b/src/Tiny_Websockets_Generic/internals/websockets_endpoint.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common.hpp b/src/Tiny_Websockets_Generic/internals/ws_common.hpp index 4448d830..abb4a3e5 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common_Ethernet_Portenta_H7.hpp b/src/Tiny_Websockets_Generic/internals/ws_common_Ethernet_Portenta_H7.hpp index 62c2eea5..910843c2 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common_Ethernet_Portenta_H7.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common_Ethernet_Portenta_H7.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common_Ethernet_W5x00.hpp b/src/Tiny_Websockets_Generic/internals/ws_common_Ethernet_W5x00.hpp index d2a81d20..db09ec0d 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common_Ethernet_W5x00.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common_Ethernet_W5x00.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common_LAN8742AEthernet.hpp b/src/Tiny_Websockets_Generic/internals/ws_common_LAN8742AEthernet.hpp index bd85c423..d89fd5be 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common_LAN8742AEthernet.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common_LAN8742AEthernet.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common_NativeEthernet.hpp b/src/Tiny_Websockets_Generic/internals/ws_common_NativeEthernet.hpp index d04a5aa5..0bb0d7d8 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common_NativeEthernet.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common_NativeEthernet.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common_QNEthernet.hpp b/src/Tiny_Websockets_Generic/internals/ws_common_QNEthernet.hpp index d99c8a21..f645d24f 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common_QNEthernet.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common_QNEthernet.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common_UIPEthernet.hpp b/src/Tiny_Websockets_Generic/internals/ws_common_UIPEthernet.hpp index 0709c578..2b7be521 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common_UIPEthernet.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common_UIPEthernet.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common_WiFi101.hpp b/src/Tiny_Websockets_Generic/internals/ws_common_WiFi101.hpp index 7825c0ef..71b3b34e 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common_WiFi101.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common_WiFi101.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common_WiFiNINA.hpp b/src/Tiny_Websockets_Generic/internals/ws_common_WiFiNINA.hpp index 0451919c..267d387f 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common_WiFiNINA.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common_WiFiNINA.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/ws_common_WiFi_Portenta_H7.hpp b/src/Tiny_Websockets_Generic/internals/ws_common_WiFi_Portenta_H7.hpp index 6db87c89..ed2ae9f9 100644 --- a/src/Tiny_Websockets_Generic/internals/ws_common_WiFi_Portenta_H7.hpp +++ b/src/Tiny_Websockets_Generic/internals/ws_common_WiFi_Portenta_H7.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/wscrypto/crypto.hpp b/src/Tiny_Websockets_Generic/internals/wscrypto/crypto.hpp index f7c4089d..7cad1683 100644 --- a/src/Tiny_Websockets_Generic/internals/wscrypto/crypto.hpp +++ b/src/Tiny_Websockets_Generic/internals/wscrypto/crypto.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/internals/wscrypto/sha1.hpp b/src/Tiny_Websockets_Generic/internals/wscrypto/sha1.hpp index 78322b2c..44853d8a 100644 --- a/src/Tiny_Websockets_Generic/internals/wscrypto/sha1.hpp +++ b/src/Tiny_Websockets_Generic/internals/wscrypto/sha1.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/message.hpp b/src/Tiny_Websockets_Generic/message.hpp index fee6a5cc..7f1b8cd1 100644 --- a/src/Tiny_Websockets_Generic/message.hpp +++ b/src/Tiny_Websockets_Generic/message.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef _MESSAGE_HPP_ diff --git a/src/Tiny_Websockets_Generic/network/DUE_Ethernet_W5x00/DUE_Ethernet_W5x00_tcp.hpp b/src/Tiny_Websockets_Generic/network/DUE_Ethernet_W5x00/DUE_Ethernet_W5x00_tcp.hpp index 3a24a669..aa3ede63 100644 --- a/src/Tiny_Websockets_Generic/network/DUE_Ethernet_W5x00/DUE_Ethernet_W5x00_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/DUE_Ethernet_W5x00/DUE_Ethernet_W5x00_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/DUE_UIPEthernet/DUE_UIPEthernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/DUE_UIPEthernet/DUE_UIPEthernet_tcp.hpp index f830fa42..8807527e 100644 --- a/src/Tiny_Websockets_Generic/network/DUE_UIPEthernet/DUE_UIPEthernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/DUE_UIPEthernet/DUE_UIPEthernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/Portenta_H7_Ethernet/Portenta_H7_Ethernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/Portenta_H7_Ethernet/Portenta_H7_Ethernet_tcp.hpp index cadfefc2..8c36b347 100644 --- a/src/Tiny_Websockets_Generic/network/Portenta_H7_Ethernet/Portenta_H7_Ethernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/Portenta_H7_Ethernet/Portenta_H7_Ethernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/Portenta_H7_WiFi/Portenta_H7_WiFi_tcp.hpp b/src/Tiny_Websockets_Generic/network/Portenta_H7_WiFi/Portenta_H7_WiFi_tcp.hpp index 87aaa92b..51e8b8ae 100644 --- a/src/Tiny_Websockets_Generic/network/Portenta_H7_WiFi/Portenta_H7_WiFi_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/Portenta_H7_WiFi/Portenta_H7_WiFi_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/RP2040_Ethernet_W5x00/RP2040_Ethernet_W5x00_tcp.hpp b/src/Tiny_Websockets_Generic/network/RP2040_Ethernet_W5x00/RP2040_Ethernet_W5x00_tcp.hpp index e3b98ca5..b7833a8c 100644 --- a/src/Tiny_Websockets_Generic/network/RP2040_Ethernet_W5x00/RP2040_Ethernet_W5x00_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/RP2040_Ethernet_W5x00/RP2040_Ethernet_W5x00_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface - 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 *****************************************************************************************************************************/ + 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/RP2040_UIPEthernet/RP2040_UIPEthernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/RP2040_UIPEthernet/RP2040_UIPEthernet_tcp.hpp index cec4f30b..d88203a0 100644 --- a/src/Tiny_Websockets_Generic/network/RP2040_UIPEthernet/RP2040_UIPEthernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/RP2040_UIPEthernet/RP2040_UIPEthernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/RP2040_WiFiNINA/RP2040_WiFiNINA_tcp.hpp b/src/Tiny_Websockets_Generic/network/RP2040_WiFiNINA/RP2040_WiFiNINA_tcp.hpp index c5927306..59d9bcb6 100644 --- a/src/Tiny_Websockets_Generic/network/RP2040_WiFiNINA/RP2040_WiFiNINA_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/RP2040_WiFiNINA/RP2040_WiFiNINA_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/SAMD_Ethernet_W5x00/SAMD_Ethernet_W5x00_tcp.hpp b/src/Tiny_Websockets_Generic/network/SAMD_Ethernet_W5x00/SAMD_Ethernet_W5x00_tcp.hpp index eabaeacf..1fb8f48d 100644 --- a/src/Tiny_Websockets_Generic/network/SAMD_Ethernet_W5x00/SAMD_Ethernet_W5x00_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/SAMD_Ethernet_W5x00/SAMD_Ethernet_W5x00_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/SAMD_UIPEthernet/SAMD_UIPEthernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/SAMD_UIPEthernet/SAMD_UIPEthernet_tcp.hpp index d0adf0a1..5b401225 100644 --- a/src/Tiny_Websockets_Generic/network/SAMD_UIPEthernet/SAMD_UIPEthernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/SAMD_UIPEthernet/SAMD_UIPEthernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/SAMD_WiFi101/SAMD_WiFi101_tcp.hpp b/src/Tiny_Websockets_Generic/network/SAMD_WiFi101/SAMD_WiFi101_tcp.hpp index 975a638e..6c0ca819 100644 --- a/src/Tiny_Websockets_Generic/network/SAMD_WiFi101/SAMD_WiFi101_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/SAMD_WiFi101/SAMD_WiFi101_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/SAMD_WiFiNINA/SAMD_WiFiNINA_tcp.hpp b/src/Tiny_Websockets_Generic/network/SAMD_WiFiNINA/SAMD_WiFiNINA_tcp.hpp index 31cc2897..b537fcbc 100644 --- a/src/Tiny_Websockets_Generic/network/SAMD_WiFiNINA/SAMD_WiFiNINA_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/SAMD_WiFiNINA/SAMD_WiFiNINA_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/STM32_Ethernet_W5x00/STM32_Ethernet_W5x00_tcp.hpp b/src/Tiny_Websockets_Generic/network/STM32_Ethernet_W5x00/STM32_Ethernet_W5x00_tcp.hpp index 474a1ca0..1247b071 100644 --- a/src/Tiny_Websockets_Generic/network/STM32_Ethernet_W5x00/STM32_Ethernet_W5x00_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/STM32_Ethernet_W5x00/STM32_Ethernet_W5x00_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/STM32_LAN8742AEthernet/STM32_LAN8742AEthernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/STM32_LAN8742AEthernet/STM32_LAN8742AEthernet_tcp.hpp index aba6a0b2..48365725 100644 --- a/src/Tiny_Websockets_Generic/network/STM32_LAN8742AEthernet/STM32_LAN8742AEthernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/STM32_LAN8742AEthernet/STM32_LAN8742AEthernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/STM32_UIPEthernet/STM32_UIPEthernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/STM32_UIPEthernet/STM32_UIPEthernet_tcp.hpp index 8453fcb6..ea744faa 100644 --- a/src/Tiny_Websockets_Generic/network/STM32_UIPEthernet/STM32_UIPEthernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/STM32_UIPEthernet/STM32_UIPEthernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/STM32_WiFiNINA/STM32_WiFiNINA_tcp.hpp b/src/Tiny_Websockets_Generic/network/STM32_WiFiNINA/STM32_WiFiNINA_tcp.hpp index 809c9195..d639d0d0 100644 --- a/src/Tiny_Websockets_Generic/network/STM32_WiFiNINA/STM32_WiFiNINA_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/STM32_WiFiNINA/STM32_WiFiNINA_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/Teensy41_NativeEthernet/Teensy41_NativeEthernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/Teensy41_NativeEthernet/Teensy41_NativeEthernet_tcp.hpp index 6ede5ef7..4bdf7510 100644 --- a/src/Tiny_Websockets_Generic/network/Teensy41_NativeEthernet/Teensy41_NativeEthernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/Teensy41_NativeEthernet/Teensy41_NativeEthernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/Teensy41_QNEthernet/Teensy41_QNEthernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/Teensy41_QNEthernet/Teensy41_QNEthernet_tcp.hpp index 5268a562..6badb698 100644 --- a/src/Tiny_Websockets_Generic/network/Teensy41_QNEthernet/Teensy41_QNEthernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/Teensy41_QNEthernet/Teensy41_QNEthernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once @@ -93,17 +74,20 @@ namespace websockets2_generic void send(const WSString& data) override { - client.write(reinterpret_cast(const_cast(data.c_str())), data.size()); + client.writeFully(reinterpret_cast(const_cast(data.c_str())), data.size()); + client.flush(); } void send(const WSString&& data) override { - client.write(reinterpret_cast(const_cast(data.c_str())), data.size()); + client.writeFully(reinterpret_cast(const_cast(data.c_str())), data.size()); + client.flush(); } void send(const uint8_t* data, const uint32_t len) override { - client.write(data, len); + client.writeFully(data, len); + client.flush(); } WSString readLine() override diff --git a/src/Tiny_Websockets_Generic/network/Teensy_Ethernet_W5x00/Teensy_Ethernet_W5x00_tcp.hpp b/src/Tiny_Websockets_Generic/network/Teensy_Ethernet_W5x00/Teensy_Ethernet_W5x00_tcp.hpp index 925340aa..63bc8626 100644 --- a/src/Tiny_Websockets_Generic/network/Teensy_Ethernet_W5x00/Teensy_Ethernet_W5x00_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/Teensy_Ethernet_W5x00/Teensy_Ethernet_W5x00_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface - 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 *****************************************************************************************************************************/ + 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/Teensy_UIPEthernet/Teensy_UIPEthernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/Teensy_UIPEthernet/Teensy_UIPEthernet_tcp.hpp index 42c7d51a..0a88ba2e 100644 --- a/src/Tiny_Websockets_Generic/network/Teensy_UIPEthernet/Teensy_UIPEthernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/Teensy_UIPEthernet/Teensy_UIPEthernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/esp32/esp32_tcp.hpp b/src/Tiny_Websockets_Generic/network/esp32/esp32_tcp.hpp index 9729ce74..7917bf3d 100644 --- a/src/Tiny_Websockets_Generic/network/esp32/esp32_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/esp32/esp32_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/esp8266/esp8266_tcp.hpp b/src/Tiny_Websockets_Generic/network/esp8266/esp8266_tcp.hpp index 99921eb3..0a6a7d9d 100644 --- a/src/Tiny_Websockets_Generic/network/esp8266/esp8266_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/esp8266/esp8266_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/generic_esp/generic_esp_clients.hpp b/src/Tiny_Websockets_Generic/network/generic_esp/generic_esp_clients.hpp index 807248c0..3bf6c93f 100644 --- a/src/Tiny_Websockets_Generic/network/generic_esp/generic_esp_clients.hpp +++ b/src/Tiny_Websockets_Generic/network/generic_esp/generic_esp_clients.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/linux/linux_tcp_client.hpp b/src/Tiny_Websockets_Generic/network/linux/linux_tcp_client.hpp index ed5383da..98ae760a 100644 --- a/src/Tiny_Websockets_Generic/network/linux/linux_tcp_client.hpp +++ b/src/Tiny_Websockets_Generic/network/linux/linux_tcp_client.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/linux/linux_tcp_server.hpp b/src/Tiny_Websockets_Generic/network/linux/linux_tcp_server.hpp index 811991f6..a63247ac 100644 --- a/src/Tiny_Websockets_Generic/network/linux/linux_tcp_server.hpp +++ b/src/Tiny_Websockets_Generic/network/linux/linux_tcp_server.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/nRF52_Ethernet_W5x00/nRF52_Ethernet_W5x00_tcp.hpp b/src/Tiny_Websockets_Generic/network/nRF52_Ethernet_W5x00/nRF52_Ethernet_W5x00_tcp.hpp index 358e7408..1a875a26 100644 --- a/src/Tiny_Websockets_Generic/network/nRF52_Ethernet_W5x00/nRF52_Ethernet_W5x00_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/nRF52_Ethernet_W5x00/nRF52_Ethernet_W5x00_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface - 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 *****************************************************************************************************************************/ + 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/nRF52_UIPEthernet/nRF52_UIPEthernet_tcp.hpp b/src/Tiny_Websockets_Generic/network/nRF52_UIPEthernet/nRF52_UIPEthernet_tcp.hpp index f7a8ed7e..fc8e04a3 100644 --- a/src/Tiny_Websockets_Generic/network/nRF52_UIPEthernet/nRF52_UIPEthernet_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/nRF52_UIPEthernet/nRF52_UIPEthernet_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/nRF52_WiFiNINA/nRF52_WiFiNINA_tcp.hpp b/src/Tiny_Websockets_Generic/network/nRF52_WiFiNINA/nRF52_WiFiNINA_tcp.hpp index 707e4813..9264f1da 100644 --- a/src/Tiny_Websockets_Generic/network/nRF52_WiFiNINA/nRF52_WiFiNINA_tcp.hpp +++ b/src/Tiny_Websockets_Generic/network/nRF52_WiFiNINA/nRF52_WiFiNINA_tcp.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/tcp_client.hpp b/src/Tiny_Websockets_Generic/network/tcp_client.hpp index 73fc4098..703a7570 100644 --- a/src/Tiny_Websockets_Generic/network/tcp_client.hpp +++ b/src/Tiny_Websockets_Generic/network/tcp_client.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/tcp_server.hpp b/src/Tiny_Websockets_Generic/network/tcp_server.hpp index 096e5a1a..1e63939b 100644 --- a/src/Tiny_Websockets_Generic/network/tcp_server.hpp +++ b/src/Tiny_Websockets_Generic/network/tcp_server.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/tcp_socket.hpp b/src/Tiny_Websockets_Generic/network/tcp_socket.hpp index ae985316..955c40dd 100644 --- a/src/Tiny_Websockets_Generic/network/tcp_socket.hpp +++ b/src/Tiny_Websockets_Generic/network/tcp_socket.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/windows/win_tcp_client.hpp b/src/Tiny_Websockets_Generic/network/windows/win_tcp_client.hpp index c3778a1a..f6b47552 100644 --- a/src/Tiny_Websockets_Generic/network/windows/win_tcp_client.hpp +++ b/src/Tiny_Websockets_Generic/network/windows/win_tcp_client.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/network/windows/win_tcp_server.hpp b/src/Tiny_Websockets_Generic/network/windows/win_tcp_server.hpp index 5480048b..dcf46dd8 100644 --- a/src/Tiny_Websockets_Generic/network/windows/win_tcp_server.hpp +++ b/src/Tiny_Websockets_Generic/network/windows/win_tcp_server.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/Tiny_Websockets_Generic/server.hpp b/src/Tiny_Websockets_Generic/server.hpp index 8479fb6d..012464d4 100644 --- a/src/Tiny_Websockets_Generic/server.hpp +++ b/src/Tiny_Websockets_Generic/server.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef _SERVER_HPP_ diff --git a/src/Tiny_Websockets_Generic/ws_config_defs.hpp b/src/Tiny_Websockets_Generic/ws_config_defs.hpp index 713a5b9c..fb4a4aea 100644 --- a/src/Tiny_Websockets_Generic/ws_config_defs.hpp +++ b/src/Tiny_Websockets_Generic/ws_config_defs.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once diff --git a/src/WebSockets2_Generic.h b/src/WebSockets2_Generic.h index 6770f0da..6ab80488 100644 --- a/src/WebSockets2_Generic.h +++ b/src/WebSockets2_Generic.h @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #pragma once @@ -45,13 +26,13 @@ #ifndef _WEBSOCKETS2_GENERIC_H #define _WEBSOCKETS2_GENERIC_H -#define WEBSOCKETS2_GENERIC_VERSION "WebSockets2_Generic v1.10.0" +#define WEBSOCKETS2_GENERIC_VERSION "WebSockets2_Generic v1.10.1" #define WEBSOCKETS2_GENERIC_VERSION_MAJOR 1 #define WEBSOCKETS2_GENERIC_VERSION_MINOR 10 -#define WEBSOCKETS2_GENERIC_VERSION_PATCH 0 +#define WEBSOCKETS2_GENERIC_VERSION_PATCH 1 -#define WEBSOCKETS2_GENERIC_VERSION_INT 1010000 +#define WEBSOCKETS2_GENERIC_VERSION_INT 1010001 ///////////////////////////////////////////////////// diff --git a/src/WebSockets2_Generic_Client.hpp b/src/WebSockets2_Generic_Client.hpp index 71528edc..4117c37b 100644 --- a/src/WebSockets2_Generic_Client.hpp +++ b/src/WebSockets2_Generic_Client.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef _WEBSOCKETS2_GENERIC_CLIENT_H diff --git a/src/WebSockets2_Generic_Common.hpp b/src/WebSockets2_Generic_Common.hpp index c74df588..68ef3c85 100644 --- a/src/WebSockets2_Generic_Common.hpp +++ b/src/WebSockets2_Generic_Common.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef _WEBSOCKETS2_GENERIC_COMMON_H diff --git a/src/WebSockets2_Generic_Crypto.hpp b/src/WebSockets2_Generic_Crypto.hpp index 6e1816a6..827d3b2c 100644 --- a/src/WebSockets2_Generic_Crypto.hpp +++ b/src/WebSockets2_Generic_Crypto.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef _WEBSOCKETS2_GENERIC_CRYPTO_H diff --git a/src/WebSockets2_Generic_Debug.h b/src/WebSockets2_Generic_Debug.h index d42b0c69..51abc4c1 100644 --- a/src/WebSockets2_Generic_Debug.h +++ b/src/WebSockets2_Generic_Debug.h @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef WebSockets2_Generic_Debug_h diff --git a/src/WebSockets2_Generic_Endpoint.hpp b/src/WebSockets2_Generic_Endpoint.hpp index cfaadb33..25a6e930 100644 --- a/src/WebSockets2_Generic_Endpoint.hpp +++ b/src/WebSockets2_Generic_Endpoint.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef _WEBSOCKETS2_GENERIC_ENDPOINT_H diff --git a/src/WebSockets2_Generic_Message.hpp b/src/WebSockets2_Generic_Message.hpp index 1ce25514..4ed170fb 100644 --- a/src/WebSockets2_Generic_Message.hpp +++ b/src/WebSockets2_Generic_Message.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef _WEBSOCKETS2_GENERIC_MESSAGE_H diff --git a/src/WebSockets2_Generic_Server.hpp b/src/WebSockets2_Generic_Server.hpp index 82cd2142..6b54569f 100644 --- a/src/WebSockets2_Generic_Server.hpp +++ b/src/WebSockets2_Generic_Server.hpp @@ -9,35 +9,16 @@ Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic Licensed under MIT license - Version: 1.10.0 + Version: 1.10.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 14/07/2020 Initial coding/porting to support nRF52 and SAMD21/SAMD51 boards. Add SINRIC/Alexa support - 1.0.1 K Hoang 16/07/2020 Add support to Ethernet W5x00 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.2 K Hoang 18/07/2020 Add support to Ethernet ENC28J60 to nRF52, SAMD21/SAMD51 and SAM DUE boards - 1.0.3 K Hoang 18/07/2020 Add support to STM32F boards using Ethernet W5x00, ENC28J60 and LAN8742A - 1.0.4 K Hoang 27/07/2020 Add support to STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 using - Ethernet W5x00, ENC28J60, LAN8742A and WiFiNINA. Add examples and Packages' Patches. - 1.0.5 K Hoang 29/07/2020 Sync with ArduinoWebsockets v0.4.18 to fix ESP8266 SSL bug. - 1.0.6 K Hoang 06/08/2020 Add non-blocking WebSocketsServer feature and non-blocking examples. - 1.0.7 K Hoang 03/10/2020 Add support to Ethernet ENC28J60 using EthernetENC and UIPEthernet v2.0.9 - 1.1.0 K Hoang 08/12/2020 Add support to Teensy 4.1 using NativeEthernet - 1.2.0 K Hoang 16/04/2021 Add limited support (client only) to ESP32-S2 and LAN8720 for STM32F4/F7 - 1.2.1 K Hoang 16/04/2021 Add support to new ESP32-S2 boards. Restore Websocket Server function for ESP32-S2. - 1.2.2 K Hoang 16/04/2021 Add support to ESP32-C3 - 1.2.3 K Hoang 02/05/2021 Update CA Certs and Fingerprint for EP32 and ESP8266 secured exampled. - 1.2.4 K Hoang 05/05/2021 Add InSecure mode for ESP32 and examples for ESP32/ESP8266 - 1.3.0 K Hoang 20/05/2021 Add support to WiFi101 - 1.4.0 K Hoang 25/05/2021 Add support to RP2040-based boards using Arduino-pico and Arduino mbed_rp2040 core - 1.5.0 K Hoang 08/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) boards - 1.6.0 K Hoang 06/09/2021 Add support to QNEthernet Library for Teensy 4.1 - 1.7.0 K Hoang 18/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet - 1.8.0 K Hoang 03/10/2021 Add support to RP2040, using WiFiNINA, such as Nano_RP2040_Connect - 1.8.1 K Hoang 12/10/2021 Update `platform.ini` and `library.json` + ... 1.9.0 K Hoang 30/11/2021 Auto detect ESP32 core version. Fix bug in examples 1.9.1 K Hoang 17/12/2021 Fix QNEthernet TCP interface 1.10.0 K Hoang 18/12/2021 Supporting case-insensitive headers, according to RFC2616 + 1.10.1 K Hoang 26/02/2022 Reduce QNEthernet latency *****************************************************************************************************************************/ #ifndef _WEBSOCKETS2_GENERIC_SERVER_H