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

Commit

Permalink
v1.1.1 to fix authenticate issue caused by libb64
Browse files Browse the repository at this point in the history
#### Releases v1.1.1

1. Fix authenticate issue caused by libb64
  • Loading branch information
khoih-prog authored Jan 12, 2022
1 parent 275cb0f commit 7bb02bd
Show file tree
Hide file tree
Showing 27 changed files with 121 additions and 121 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
Arduino AmebaD core v3.1.1
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-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Context:
I encountered an endless loop while trying to connect to Local WiFi.
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ This [**WiFiWebServer_RTL8720 library**](https://github.com/khoih-prog/WiFiWebSe

## Prerequisites

1. [`Arduino IDE 1.8.19+` for Arduino](https://www.arduino.cc/en/Main/Software)
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
2. [`Arduino AmebaD core 3.1.1+`](https://github.com/ambiot/ambd_arduino) for Realtek RTL8720DN, RTL8722DM and RTL8722CSM. [![GitHub release](https://img.shields.io/github/release/ambiot/ambd_arduino.svg)](https://github.com/ambiot/ambd_arduino/releases/latest)
3. [`Functional-VLPP library v1.0.2+`](https://github.com/khoih-prog/functional-vlpp) to use server's lambda function. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/Functional-Vlpp.svg?)](https://www.ardu-badge.com/Functional-Vlpp)

Expand Down Expand Up @@ -620,7 +620,7 @@ The following are debug terminal output and screen shot when running example [**
```
Starting AdvancedServer on Rtlduino RTL8720DN with RTL8720DN
WiFiWebServer_RTL8720 v1.1.0
WiFiWebServer_RTL8720 v1.1.1
Current Firmware Version = 1.0.0
Attempting to connect to SSID: HueNet_5G
HTTP server started @ 192.168.2.152
Expand All @@ -636,7 +636,7 @@ The following are debug terminal output and screen shot when running example [**

```
Starting WebClient on Rtlduino RTL8720DN with RTL8720DN
WiFiWebServer_RTL8720 v1.1.0
WiFiWebServer_RTL8720 v1.1.1
Current Firmware Version = 1.0.0
Attempting to connect to SSID: HueNet_5G
You're connected to the network, IP = 192.168.2.152
Expand Down Expand Up @@ -707,7 +707,7 @@ The following are debug terminal output and screen shot when running example [**

```
Starting ScanNetworks on Rtlduino RTL8720DN with RTL8720DN
WiFiWebServer_RTL8720 v1.1.0
WiFiWebServer_RTL8720 v1.1.1
Current Firmware Version = 1.0.0
Attempting to connect to SSID: HueNet_5G
You're connected to the network, IP = 192.168.2.152
Expand Down Expand Up @@ -737,7 +737,7 @@ The following are debug terminal output and screen shot when running example [**

```
Starting MQTTClient_Auth on Rtlduino RTL8720DN with RTL8720DN
WiFiWebServer_RTL8720 v1.1.0
WiFiWebServer_RTL8720 v1.1.1
Current Firmware Version = 1.0.0
Attempting to connect to SSID: HueNet_5G
Connected! IP address: 192.168.2.152
Expand All @@ -757,7 +757,7 @@ The following are debug terminal output and screen shot when running example [**

```
Start MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN
WiFiWebServer_RTL8720 v1.1.0
WiFiWebServer_RTL8720 v1.1.1
Current Firmware Version = 1.0.0
Attempting to connect to SSID: HueNet_5G
Connected! IP address: 192.168.2.152
Expand Down Expand Up @@ -787,7 +787,7 @@ The following are debug terminal output and screen shot when running example [**

```
Starting WiFiUdpNTPClient on Rtlduino RTL8720DN with RTL8720DN
WiFiWebServer_RTL8720 v1.1.0
WiFiWebServer_RTL8720 v1.1.1
Current Firmware Version = 1.0.0
Attempting to connect to SSID: HueNet_5G
Connected! IP address: 192.168.2.152
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)
* [Releases v1.1.1](#releases-v111)
* [Major Releases v1.1.0](#major-releases-v110)
* [Releases v1.0.1](#releases-v101)
* [Initial Releases v1.0.0](#initial-releases-v100)
Expand All @@ -22,6 +23,10 @@

## Changelog

#### Releases v1.1.1

1. Fix authenticate issue caused by libb64

### Major Releases v1.1.0

1. Fix bug related to usage of Arduino String
Expand Down
3 changes: 2 additions & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "WiFiWebServer_RTL8720",
"version": "1.1.0",
"version": "1.1.1",
"keywords": "wifi, wi-fi, WebServer, RTL8720DN, RTL8722DM, RTM8722CSM, realtek, amebad-core, HTTP-Client, WebSocket-Client, server, client, websocket, mqtt, mqtt-client, thingstream, 5-GHz-WiFi, 5GHz-WiFi",
"description": "Simple WiFiWebServer, HTTP Client, MQTT and WebSocket Client library for Realtek RTL8720DN, RTL8722DM, RTM8722CSM boards using WiFi. Supporting WiFi at 2.4GHz and 5GHz",
"authors":
Expand Down Expand Up @@ -31,6 +31,7 @@
"platforms": ["*"]
}
],
"license": "MIT",
"frameworks": "*",
"platforms": "AmebaD",
"examples": "examples/*/*/*.ino",
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=WiFiWebServer_RTL8720
version=1.1.0
version=1.1.1
author=Khoi Hoang
license=MIT
maintainer=Khoi Hoang <khoih.prog@gmail.com>
Expand Down
3 changes: 2 additions & 1 deletion src/Parsing_RTL8720-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
***************************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/RTL8720HttpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
*****************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/RTL8720_HTTPClient/RTL8720_HttpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
*****************************************************************************************************************************/

// Class to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/RTL8720_HTTPClient/RTL8720_HttpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
*****************************************************************************************************************************/

// Class to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/RTL8720_HTTPClient/RTL8720_URLEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
*****************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/RTL8720_HTTPClient/RTL8720_URLEncoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
*****************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/RTL8720_HTTPClient/RTL8720_WebSocketClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
*****************************************************************************************************************************/

// (c) Copyright Arduino. 2016
Expand Down
3 changes: 2 additions & 1 deletion src/RTL8720_HTTPClient/RTL8720_WebSocketClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
*****************************************************************************************************************************/

// (c) Copyright Arduino. 2016
Expand Down
7 changes: 4 additions & 3 deletions src/WiFiWebServer_RTL8720-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
***************************************************************************************************************************************/

#pragma once
Expand Down Expand Up @@ -252,7 +253,7 @@ void WiFiWebServer::handleClient()
delay(1);
}

// KH, fix bug. Have to close the connection
// KH, fix bug. Have to close the connection.
_currentClient.stop();
WS_LOGDEBUG(F("handleClient: Client disconnected"));
}
Expand Down Expand Up @@ -368,7 +369,7 @@ void WiFiWebServer::handleClient()

stopClient:

// KH, fix bug. Have to close the connection
// KH, fix bug. Have to close the connection.
_currentClient.stop();
WS_LOGDEBUG(F("handleClient: Client disconnected"));
}
Expand Down
9 changes: 5 additions & 4 deletions src/WiFiWebServer_RTL8720.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,28 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
***************************************************************************************************************************************/

#pragma once

#ifndef WiFiWebServer_RTL8720_h
#define WiFiWebServer_RTL8720_h

#define WIFI_WEBSERVER_RTL8720_VERSION "WiFiWebServer_RTL8720 v1.1.0"
#define WIFI_WEBSERVER_RTL8720_VERSION "WiFiWebServer_RTL8720 v1.1.1"

#define WIFI_WEBSERVER_RTL8720_VERSION_MAJOR 1
#define WIFI_WEBSERVER_RTL8720_VERSION_MINOR 1
#define WIFI_WEBSERVER_RTL8720_VERSION_PATCH 0
#define WIFI_WEBSERVER_RTL8720_VERSION_PATCH 1

#define WIFI_WEBSERVER_RTL8720_VERSION_IN 1001000
#define WIFI_WEBSERVER_RTL8720_VERSION_IN 1001001

#define USE_NEW_WEBSERVER_VERSION true

Expand Down
3 changes: 2 additions & 1 deletion src/libb64/base64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
*****************************************************************************************************************************/

#include "base64.h"
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/base64.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiWebServer_RTL8720
Licensed under MIT license
Version: 1.1.0
Version: 1.1.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 14/07/2021 Initial coding for Realtek RTL8720DN, RTL8722DM and RTL8722CSM
1.0.1 K Hoang 07/08/2021 Fix version typo
1.1.0 K Hoang 26/12/2021 Fix bug related to usage of Arduino String. Optimize code
1.1.1 K Hoang 26/12/2021 Fix authenticate issue caused by libb64
*****************************************************************************************************************************/

#pragma once
Expand Down
Loading

0 comments on commit 7bb02bd

Please sign in to comment.