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

Commit

Permalink
v1.4.5 to Sync with SSLClient v1.6.11
Browse files Browse the repository at this point in the history
### Releases v1.4.5

1. Sync with [SSLClient v1.6.11](https://github.com/OPEnSLab-OSU/SSLClient/releases/tag/v1.6.11). Check [Pull in OPEnSLab-OSU's SSLClient v1.6.11 #17](khoih-prog/EthernetWebServer_SSL#17)
2. Add example [AWS_IoT](examples/AWS_IoT)
  • Loading branch information
khoih-prog authored Mar 29, 2022
1 parent 4cf3c14 commit 38d28a8
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 23 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Please ensure to specify the following:
Arduino IDE version: 1.8.19
STM32F7 Nucleo-144 NUCLEO_F767ZI, STM32 core v2.2.0
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.13.0-35-generic #40~20.04.1-Ubuntu SMP Mon Mar 7 09:18:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Linux xy-Inspiron-3593 5.13.0-37-generic #42~20.04.1-Ubuntu SMP Tue Mar 15 15:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Context:
I encountered a crash while trying to use the Timer Interrupt.
Expand Down
43 changes: 24 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@
* [16. WebClientRepeating](examples/WebClientRepeating)
* [17. WebClient_SSL](examples/WebClient_SSL)
* [18. WebServer](examples/WebServer)
* [19. **MQTTS_ThingStream**](examples/MQTTS_ThingStream).
* [20. **MQTT_ThingStream**](examples/MQTT_ThingStream).
* [19. **MQTTS_ThingStream**](examples/MQTTS_ThingStream)
* [20. **MQTT_ThingStream**](examples/MQTT_ThingStream)
* [21. **AWS_IoT**](examples/AWS_IoT) **New**
* [HTTP and WebSocket Client New Examples](#http-and-websocket-client-new-examples)
* [ 1. BasicAuthGet](examples/HTTPClient/BasicAuthGet)
* [ 2. CustomHeader](examples/HTTPClient/CustomHeader)
Expand Down Expand Up @@ -1194,8 +1195,9 @@ Connect FDTI (USB to Serial) as follows:
16. [WebClientRepeating](examples/WebClientRepeating)
17. [WebClient_SSL](examples/WebClient_SSL)
18. [WebServer](examples/WebServer)
19. [**MQTTS_ThingStream**](examples/MQTTS_ThingStream).
20. [**MQTT_ThingStream**](examples/MQTT_ThingStream).
19. [**MQTTS_ThingStream**](examples/MQTTS_ThingStream)
20. [**MQTT_ThingStream**](examples/MQTT_ThingStream)
21. [**AWS_IoT**](examples/AWS_IoT) **New**

#### HTTP and WebSocket Client New Examples

Expand Down Expand Up @@ -1254,7 +1256,7 @@ Following is debug terminal output and screen shot when running example [Advance

```
Start AdvancedWebServer on NUCLEO_F767ZI, using LAN8742A Ethernet & STM32Ethernet Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
HTTP EthernetWebServer is @ IP : 192.168.2.117
.[EWS] String Len = 0, extend to 2048
EthernetWebServer::handleClient: New Client
Expand Down Expand Up @@ -1379,7 +1381,7 @@ The following is debug terminal output when running example [WebClientRepeating]

```
Start WebClientRepeating on NUCLEO_F767ZI, using ENC28J60 & EthernetENC Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1454,7 +1456,7 @@ Disconnecting from server...

```
Start UdpNTPClient on NUCLEO_F767ZI, using W5x00 & Ethernet2 Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand All @@ -1478,7 +1480,7 @@ The UTC time is 22:20:21

```
Start WebClient_SSL on NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] =========================
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1583,7 +1585,7 @@ The terminal output of **NUCLEO_F767ZI with W5x00 & Ethernet3 Library** running

```
Start WebClient_SSL on NUCLEO_F767ZI with W5x00 & Ethernet3 Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] =========== USE_ETHERNET3 ===========
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1687,7 +1689,7 @@ The terminal output of **NUCLEO_F767ZI with ENC28J60 & EthernetENC Library** run

```
Start WebClientMulti_SSL on NUCLEO_F767ZI with ENC28J60 & EthernetENC Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] =========================
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1823,7 +1825,7 @@ The terminal output of **NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Li

```
Start MQTTClient_SSL_Complex on NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1857,7 +1859,7 @@ The terminal output of **NUCLEO_F767ZI with W5x00 & Ethernet2 Library** running

```
Start MQTTClient_SSL_Complex on NUCLEO_F767ZI with W5x00 & Ethernet2 Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1889,7 +1891,7 @@ The terminal output of **NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Li

```
Start MQTTS_ThingStream on NUCLEO_F767ZI with LAN8742A Ethernet & STM32Ethernet Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1923,7 +1925,7 @@ The terminal output of **NUCLEO_F767ZI with ENC28J60 & EthernetENC Library** run

```
Start MQTTS_ThingStream_ThingStream on NUCLEO_F767ZI with ENC28J60 & EthernetENC Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1955,7 +1957,7 @@ The terminal output of **NUCLEO_F767ZI with W5x00 & Ethernet3 Library** running

```
Start MQTTS_ThingStream_ThingStream on NUCLEO_F767ZI with W5x00 & Ethernet3 Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
[ETHERNET_WEBSERVER] Board : NUCLEO_F767ZI , setCsPin: 10
[ETHERNET_WEBSERVER] Default SPI pinout:
[ETHERNET_WEBSERVER] MOSI: 11
Expand Down Expand Up @@ -1989,7 +1991,7 @@ The terminal output of **BLACK_F407VE with LAN8720 Ethernet and STM32Ethernet Li

```
Start MQTTS_ThingStream_ThingStream on on BLACK_F407VE with LAN8720 Ethernet & STM32Ethernet Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
You're connected to the network, IP = 192.168.2.107
***************************************
esp32-sniffer/12345678/ble
Expand All @@ -2013,7 +2015,7 @@ The terminal output of **BLACK_F407VE with LAN8720 Ethernet and STM32Ethernet Li

```
Start WebClient_SSL_LAN8720 on BLACK_F407VE with LAN8720 Ethernet & STM32Ethernet Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
Using mac index = 6
Connected! IP address: 192.168.2.138
Connecting to : www.arduino.cc, port : 443
Expand Down Expand Up @@ -2095,7 +2097,7 @@ The terminal output of **BLACK_F407VE with LAN8720 Ethernet and STM32Ethernet Li

```
Start MQTTClient_SSL_LAN8720 on BLACK_F407VE with LAN8720 Ethernet & STM32Ethernet Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
You're connected to the network, IP = 192.168.2.138
Attempting MQTT connection to broker.emqx.io...connected
Published connection message successfully!
Expand All @@ -2119,7 +2121,7 @@ The terminal output of **BLACK_F407VE with LAN8720 Ethernet and STM32Ethernet Li

```
Start MQTTClient_SSL_Complex_LAN8720 on BLACK_F407VE with LAN8720 Ethernet & STM32Ethernet Library
EthernetWebServer_SSL_STM32 v1.4.4
EthernetWebServer_SSL_STM32 v1.4.5
You're connected to the network, IP = 192.168.2.142
Attempting MQTT connection to broker.emqx.io...connected
Published connection message successfully!
Expand Down Expand Up @@ -2196,6 +2198,7 @@ Submit issues to: [EthernetWebServer_SSL_STM32 issues](https://github.com/khoih-
11. Optimize library code and examples by using **reference-passing instead of value-passing**.
12. Fix authenticate issue and compiler warnings caused by libb64
13. Change licence from `MIT` to `GPLv3`
14. Sync with [SSLClient v1.6.11](https://github.com/OPEnSLab-OSU/SSLClient/releases/tag/v1.6.11)


---
Expand All @@ -2206,13 +2209,15 @@ Submit issues to: [EthernetWebServer_SSL_STM32 issues](https://github.com/khoih-
2. [OPEnSLab-OSU](https://github.com/PEnSLab-OSU) for [OPEnSLab-OSU's SSLClient](https://github.com/OPEnSLab-OSU/SSLClient)
3. Thanks to [Miguel Alexandre Wisintainer](https://github.com/tcpipchip) to help debug and test.
4. [Adrian McEwen](https://github.com/amcewen) for [HttpClient Library](https://github.com/amcewen/HttpClient) on which the [ArduinoHttpClient Library](https://github.com/arduino-libraries/ArduinoHttpClient) and this [EthernetWebServer library](https://github.com/khoih-prog/EthernetWebServer) are relied.
5. Thanks to [Marcel Stör](https://github.com/marcelstoer) to report issue [Pull in OPEnSLab-OSU's SSLClient v1.6.11 #17](https://github.com/khoih-prog/EthernetWebServer_SSL/issues/17) which was fixed in v1.4.5

<table>
<tr>
<td align="center"><a href="https://github.com/igrr"><img src="https://github.com/igrr.png" width="100px;" alt="igrr"/><br /><sub><b>⭐️ Ivan Grokhotkov</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/OPEnSLab-OSU"><img src="https://github.com/OPEnSLab-OSU.png" width="100px;" alt="OPEnSLab-OSU"/><br /><sub><b>⭐️ OPEnSLab-OSU</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/amcewen"><img src="https://github.com/amcewen.png" width="100px;" alt="amcewen"/><br /><sub><b>⭐️ Adrian McEwen</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/tcpipchip"><img src="https://github.com/tcpipchip.png" width="100px;" alt="tcpipchip"/><br /><sub><b>Miguel Wisintainer</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/marcelstoer"><img src="https://github.com/marcelstoer.png" width="100px;" alt="marcelstoer"/><br /><sub><b>Marcel Stör</b></sub></a><br /></td>
</tr>
</table>

Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
## Table of Contents

* [Changelog](#changelog)
* [Releases v1.4.5](#releases-v145)
* [Releases v1.4.4](#releases-v144)
* [Releases v1.4.3](#releases-v143)
* [Releases v1.4.2](#releases-v142)
Expand All @@ -29,6 +30,12 @@

## Changelog

### Releases v1.4.5

1. Sync with [SSLClient v1.6.11](https://github.com/OPEnSLab-OSU/SSLClient/releases/tag/v1.6.11). Check [Pull in OPEnSLab-OSU's SSLClient v1.6.11 #17](https://github.com/khoih-prog/EthernetWebServer_SSL/issues/17)
2. Add example [AWS_IoT](examples/AWS_IoT)


### Releases v1.4.4

1. Change license from `MIT` to `GPLv3`. Check [Licensing of SSLClient #16](https://github.com/khoih-prog/EthernetWebServer_SSL/issues/16)
Expand Down
16 changes: 15 additions & 1 deletion keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,19 @@ AUTHORIZATION_HEADER LITERAL1

_ETHERNET_WEBSERVER_LOGLEVEL_ LITERAL1


# enum Error
SSL_OK LITERAL1
SSL_CLIENT_CONNECT_FAIL LITERAL1
SSL_BR_CONNECT_FAIL LITERAL1
SSL_CLIENT_WRTIE_ERROR LITERAL1
SSL_BR_WRITE_ERROR LITERAL1
SSL_INTERNAL_ERROR LITERAL1
SSL_OUT_OF_MEMORY LITERAL1

# enum DebugLevel
SSL_NONE LITERAL1
SSL_ERROR LITERAL1
SSL_WARN LITERAL1
SSL_INFO LITERAL1
SSL_DUMP LITERAL1

2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EthernetWebServer_SSL_STM32",
"version": "1.4.4",
"version": "1.4.5",
"keywords": "WebServer, built-in Ethernet, Arduino, STM32F, STM32L, STM32H, STM32G, STM32WB, STM32MP1, Ethernet shield, Nucleo-144, Nucleo-64, Nucleo-32, LAN8742A, LAN8720, ENC28J60, W5x00, W5500, W5100, SSL, TLS, HTTP-Client, WebSocket-Client, server, client, websocket",
"description": "Simple TLS/SSL Ethernet WebServer, HTTP Client and WebSocket Client library for STM32F/L/H/G/WB/MP1 boards running built-in Ethernet LAN8742A, LAN8720 or Ethernet W5x00, ENC28J60 shields. The WebServer supports HTTP/HTTPS GET and POST requests, provides argument parsing, handles one client at a time. It now provides HTTP(S) Client and Secured WebSockets Client. It supports Arduino STM32F/L/H/G/WB/MP1 series with 32+ Kbytes of Flash, using built-in LAN8742A Ethernet (Nucleo-144: F429ZI, F767ZI, Discovery: STM32F746G-DISCOVERY), or LAN8720, ENC28J60, W5x00 Ethernet shields.",
"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=EthernetWebServer_SSL_STM32
version=1.4.4
version=1.4.5
author=Khoi Hoang
license=GPLv3
maintainer=Khoi Hoang <khoih.prog@gmail.com>
Expand Down

0 comments on commit 38d28a8

Please sign in to comment.