Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
v1.12.1 to improve and fix bug in examples
Browse files Browse the repository at this point in the history
### Release v1.12.1

1. Improve and fix bug in examples
  • Loading branch information
khoih-prog authored Oct 9, 2022
1 parent bb2e04a commit 093b9f8
Show file tree
Hide file tree
Showing 72 changed files with 178 additions and 105 deletions.
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,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.12.0
WebSockets2_Generic v1.12.1
WiFi-begin: return1 = 3
WiFi-begin: return2 = 3
Connected to Wifi, Connecting to WebSockets Server @iot.sinric.com
Expand Down Expand Up @@ -1698,7 +1698,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.12.0
WebSockets2_Generic v1.12.1
ENC28J60_CONTROL_CS =16
SS =16
SPI_MOSI =25
Expand Down Expand Up @@ -1747,7 +1747,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 Ethernet_Generic Library
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
[WS] =========== USE_ETHERNET_GENERIC ===========
[WS] Default SPI pinout:
[WS] MOSI: 75
Expand Down Expand Up @@ -1795,7 +1795,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.12.0
WebSockets2_Generic v1.12.1
ENC28J60_CONTROL_CS =10
SS =5
SPI_MOSI =24
Expand Down Expand Up @@ -1833,7 +1833,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.12.0
WebSockets2_Generic v1.12.1
[WS] =========== USE_LAN8742A_ETHERNET ===========
WebSockets Client IP address: 192.168.2.135
Connecting to WebSockets Server @iot.sinric.com
Expand Down Expand Up @@ -1881,7 +1881,7 @@ This is the terminal debug output when running [SAMDUE-Ethernet_ServerAllFunctio

```
Start Generic_WebSocketServerAllFunctionsDemo_W5500
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
[WS] =========== USE_ETHERNET_GENERIC ===========
[WS] Default SPI pinout:
[WS] MOSI: 75
Expand Down Expand Up @@ -1957,7 +1957,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.12.0
WebSockets2_Generic v1.12.1
[WS] =========== USE_LAN8720_ETHERNET ===========
WebSockets Client IP address: 192.168.2.160
Connecting to WebSockets Server @iot.sinric.com
Expand Down Expand Up @@ -2001,7 +2001,7 @@ This is terminal debug output when running [ESP32-Client_SINRIC](examples/ESP32/

```
Starting ESP32-Client_SINRIC on ESP32S2_DEV
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
....Connected to Wifi, Connecting to WebSockets Server @iot.sinric.com
[WS] WebsocketsClient::generateHandshake: base64Authorization = YXBpa2V5OjkxMjdkNDc4LTExNjAtNDE4OC04MDQ4LTQ3OWJhNWM2OTExNA==
[WS] WebsocketsClient::generateHandshake: handshake = GET / HTTP/1.1
Expand Down Expand Up @@ -2045,7 +2045,7 @@ This is terminal debug output when running [Secured-ESP32-Client](examples/ESP32

```
Starting WebSockets Secured-ESP32-Client on ESP32S2_DEV
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
....
Connected to Wifi, Connecting to WebSockets Server @wss://echo.websocket.org/
[WS] WebsocketsClient::doestStartsWith: str = wss://echo.websocket.org/
Expand Down Expand Up @@ -2105,7 +2105,7 @@ This is terminal debug output when running [InSecured-ESP32-Client](examples/ESP

```
Starting WebSockets InSecured-ESP32-Client on ESP32_DEV
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
...
Connected to Wifi, Connecting to WebSockets Server @wss://echo.websocket.org/
[WS] WebsocketsClient::doestStartsWith: str = wss://echo.websocket.org/
Expand Down Expand Up @@ -2166,7 +2166,7 @@ This is terminal debug output when running [ESP8266-Client_SINRIC](examples/ESP3

```
Starting ESP8266-Client_SINRIC on ESP8266_NODEMCU_ESP12E
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
......Connected to Wifi, Connecting to WebSockets Server @iot.sinric.com
[WS] WebsocketsClient::generateHandshake: base64Authorization = YXBpa2V5OjkxMjdkNDc4LTExNjAtNDE4OC04MDQ4LTQ3OWJhNWM2OTExNA==
[WS] WebsocketsClient::generateHandshake: handshake = GET / HTTP/1.1
Expand Down Expand Up @@ -2208,7 +2208,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 Ethernet_Generic Library
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
[WS] =========== USE_ETHERNET_GENERIC ===========
[WS] Default SPI pinout:
[WS] MOSI: 19
Expand Down Expand Up @@ -2278,7 +2278,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 Ethernet_Generic Library
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
[WS] =========== USE_ETHERNET_GENERIC ===========
[WS] Default SPI pinout:
[WS] MOSI: 19
Expand Down Expand Up @@ -2348,7 +2348,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.12.0
WebSockets2_Generic v1.12.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==
Expand Down Expand Up @@ -2394,7 +2394,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.12.0
WebSockets2_Generic v1.12.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/
Expand Down Expand Up @@ -2453,7 +2453,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.12.0
WebSockets2_Generic v1.12.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
Expand Down Expand Up @@ -2492,7 +2492,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.12.0
WebSockets2_Generic v1.12.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.
Expand Down Expand Up @@ -2533,7 +2533,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.12.0
WebSockets2_Generic v1.12.1
=========== USE_QN_ETHERNET ===========
Initialize Ethernet using DHCP => Connected! IP address:192.168.2.119
Server available at ws://192.168.2.119:81
Expand Down Expand Up @@ -2565,7 +2565,7 @@ Got Message: Hello to Server from ESP32

```
Starting ESP32-RepeatingClient on ESP32_DEV
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
....Connected to Wifi, Connecting to WebSockets Server @192.168.2.119
[WS] WebsocketsClient::generateHandshake: base64Authorization =
[WS] WebsocketsClient::generateHandshake: handshake = GET / HTTP/1.1
Expand Down Expand Up @@ -2607,7 +2607,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.12.0
WebSockets2_Generic v1.12.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
Expand Down Expand Up @@ -2643,7 +2643,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.12.0
WebSockets2_Generic v1.12.1
Connecting to SSID: HueNet1
Connected to Wifi, IP address: 192.168.2.130
Connecting to WebSockets Server @iot.sinric.com
Expand Down Expand Up @@ -2691,7 +2691,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.12.0
WebSockets2_Generic v1.12.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
Expand Down Expand Up @@ -2733,7 +2733,7 @@ This is terminal debug output when running [Teensy41_Client](examples/Generic/Te

```
Starting Teensy41_Client on TEENSY 4.1 using QNEthernet
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
=========== USE_QN_ETHERNET ===========
Initialize Ethernet using static IP => Connected! IP address:192.168.2.222
[WS] WebsocketsClient::doestStartsWith: str = ws://192.168.2.30:8080
Expand Down Expand Up @@ -2783,7 +2783,7 @@ This is terminal debug output when running [ESP32_Ethernet-Client](examples/Gene
```
Starting ESP32_Ethernet-Client on ESP32_DEV
Ethernet using W5x00 and Ethernet_Generic Library
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
[WS] Default SPI pinout:
[WS] MOSI: 23
[WS] MISO: 19
Expand Down Expand Up @@ -2848,7 +2848,7 @@ This is terminal debug output when running [ESP32_Ethernet-Client](examples/Gene
```
Starting ESP32_Ethernet-Client on ESP32_DEV
Ethernet using ENC28J60 and EthernetENC Library
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
[WS] Default SPI pinout:
[WS] MOSI: 23
[WS] MISO: 19
Expand Down Expand Up @@ -2910,7 +2910,7 @@ This is terminal debug output when running [ESP32_Ethernet-Client](examples/Gene
```
Starting ESP32_Ethernet-Client on ESP32_DEV
Ethernet using ENC28J60 and UIPEthernet Library
WebSockets2_Generic v1.12.0
WebSockets2_Generic v1.12.1
[WS] Default SPI pinout:
[WS] MOSI: 23
[WS] MISO: 19
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
## Table of Contents

* [Changelog](#changelog)
* [Release v1.12.1](#release-v1121)
* [Release v1.12.0](#release-v1120)
* [Release v1.11.0](#release-v1110)
* [Release v1.10.3](#release-v1103)
Expand Down Expand Up @@ -47,6 +48,10 @@

## Changelog

### Release v1.12.1

1. Improve and fix bug in examples

### Release v1.12.0

1. Add support to ENC28J60 using `EthernetENC` or `UIPEthernet` Library for these supported boards
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "WebSockets2_Generic",
"version": "1.12.0",
"version": "1.12.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. Now supporting ENC28J60 using either UIPEthernet or EthernetENC library and ESP32 using Ethernet",
"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, W5x00, W5500, ENC28J60",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=WebSockets2_Generic
version=1.12.0
version=1.12.1
author=Gil Maimon <mail.gilmaimon@gmail.com>, Khoi Hoang <khoih.prog@gmail.com>
maintainer=Khoi Hoang <khoih.prog@gmail.com>
sentence=A WebSocket Server and Client library for Arduino, based on RFC6455, for writing modern Websockets applications.
Expand Down
3 changes: 2 additions & 1 deletion src/Tiny_Websockets_Generic/client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic
Licensed under MIT license
Version: 1.12.0
Version: 1.12.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.10.3 K Hoang 11/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040
1.11.0 K Hoang 08/10/2022 Add support to ESP32 using W5x00 Ethernet
1.12.0 K Hoang 09/10/2022 Add support to ENC28J60 using EthernetENC or UIPEthernet for all supported boards
1.12.1 K Hoang 09/10/2022 Fix bug in examples
*****************************************************************************************************************************/

#ifndef _CLIENT_HPP_
Expand Down
3 changes: 2 additions & 1 deletion src/Tiny_Websockets_Generic/internals/data_frame.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic
Licensed under MIT license
Version: 1.12.0
Version: 1.12.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.10.3 K Hoang 11/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040
1.11.0 K Hoang 08/10/2022 Add support to ESP32 using W5x00 Ethernet
1.12.0 K Hoang 09/10/2022 Add support to ENC28J60 using EthernetENC or UIPEthernet for all supported boards
1.12.1 K Hoang 09/10/2022 Fix bug in examples
*****************************************************************************************************************************/

#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic
Licensed under MIT license
Version: 1.12.0
Version: 1.12.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.10.3 K Hoang 11/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040
1.11.0 K Hoang 08/10/2022 Add support to ESP32 using W5x00 Ethernet
1.12.0 K Hoang 09/10/2022 Add support to ENC28J60 using EthernetENC or UIPEthernet for all supported boards
1.12.1 K Hoang 09/10/2022 Fix bug in examples
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/Tiny_Websockets_Generic/internals/ws_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic
Licensed under MIT license
Version: 1.12.0
Version: 1.12.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.10.3 K Hoang 11/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040
1.11.0 K Hoang 08/10/2022 Add support to ESP32 using W5x00 Ethernet
1.12.0 K Hoang 09/10/2022 Add support to ENC28J60 using EthernetENC or UIPEthernet for all supported boards
1.12.1 K Hoang 09/10/2022 Fix bug in examples
*****************************************************************************************************************************/

#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic
Licensed under MIT license
Version: 1.12.0
Version: 1.12.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.10.3 K Hoang 11/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040
1.11.0 K Hoang 08/10/2022 Add support to ESP32 using W5x00 Ethernet
1.12.0 K Hoang 09/10/2022 Add support to ENC28J60 using EthernetENC or UIPEthernet for all supported boards
1.12.1 K Hoang 09/10/2022 Fix bug in examples
*****************************************************************************************************************************/

#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic
Licensed under MIT license
Version: 1.12.0
Version: 1.12.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.10.3 K Hoang 11/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040
1.11.0 K Hoang 08/10/2022 Add support to ESP32 using W5x00 Ethernet
1.12.0 K Hoang 09/10/2022 Add support to ENC28J60 using EthernetENC or UIPEthernet for all supported boards
1.12.1 K Hoang 09/10/2022 Fix bug in examples
*****************************************************************************************************************************/

#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Websockets2_Generic
Licensed under MIT license
Version: 1.12.0
Version: 1.12.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.10.3 K Hoang 11/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040
1.11.0 K Hoang 08/10/2022 Add support to ESP32 using W5x00 Ethernet
1.12.0 K Hoang 09/10/2022 Add support to ENC28J60 using EthernetENC or UIPEthernet for all supported boards
1.12.1 K Hoang 09/10/2022 Fix bug in examples
*****************************************************************************************************************************/

#pragma once
Expand Down
Loading

0 comments on commit 093b9f8

Please sign in to comment.