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

Commit

Permalink
v1.8.0 to use WiFiMulti_Generic library
Browse files Browse the repository at this point in the history
### Releases v1.8.0

1. Add [WiFiMulti_Generic](https://github.com/khoih-prog/WiFiMulti_Generic) library support
2. Add many WiFiMulti-related examples in [WiFiMulti](https://github.com/khoih-prog/WiFiWebServer/tree/master/examples/WiFiMulti)
3. Update `Packages' Patches`
  • Loading branch information
khoih-prog authored Apr 26, 2022
1 parent a006152 commit 00b93f1
Show file tree
Hide file tree
Showing 33 changed files with 318 additions and 75 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Arduino IDE version: 1.8.19
RASPBERRY_PI_PICO board
ArduinoCore-mbed v3.0.1
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Linux xy-Inspiron-3593 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 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
278 changes: 239 additions & 39 deletions README.md

Large diffs are not rendered by default.

7 changes: 7 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.8.0](#releases-v180)
* [Releases v1.7.0](#releases-v170)
* [Releases v1.6.3](#releases-v163)
* [Releases v1.6.2](#releases-v162)
Expand Down Expand Up @@ -44,6 +45,12 @@

## Changelog

### Releases v1.8.0

1. Add [WiFiMulti_Generic](https://github.com/khoih-prog/WiFiMulti_Generic) library support
2. Add many WiFiMulti-related examples in [WiFiMulti](https://github.com/khoih-prog/WiFiWebServer/tree/master/examples/WiFiMulti)
3. Update `Packages' Patches`

### Releases v1.7.0

1. Fix issue with Portenta_H7 core v2.7.2+. Check [[Portenta_H7] WiFi WebServer extremely slow from core v2.7.2 - v3.0.1 #441](https://github.com/arduino/ArduinoCore-mbed/issues/441)
Expand Down
12 changes: 9 additions & 3 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "WiFiWebServer",
"version": "1.7.0",
"keywords": "wifi, wi-fi, WebServer, WiFiNINA, WiFi101, ESP32, Portenta-H7, SAM-DUE, SAMD, STM32, nRF52, rpi-pico, rp2040, HTTP-Client, WebSocket-Client, server, client, websocket, AVR, mega-avr",
"description": "Simple WiFiWebServer, HTTP Client and WebSocket Client library for AVR Mega, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano-RP2040-Connect, RASPBERRY_PI_PICO, ESP32/ESP8266, etc.) boards using WiFi, such as WiFiNINA, WiFi101, U-Blox W101, W102, ESP8266/ESP32-AT modules/shields, with functions similar to those of ESP8266/ESP32 WebServer libraries.",
"version": "1.8.0",
"keywords": "wifi, wi-fi, WebServer, WiFiNINA, WiFi101, ESP32, Portenta-H7, SAM-DUE, SAMD, STM32, nRF52, rpi-pico, rp2040, HTTP-Client, WebSocket-Client, server, client, websocket, wifi-multi, mega-avr",
"description": "Simple WiFiWebServer, HTTP Client and WebSocket Client library for AVR Mega, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano-RP2040-Connect, RASPBERRY_PI_PICO, ESP32/ESP8266, etc.) boards using WiFi, such as WiFiNINA, WiFi101, U-Blox W101, W102, ESP8266/ESP32-AT modules/shields, with functions similar to those of ESP8266/ESP32 WebServer libraries. Now using WiFiMulti_Generic library",
"authors":
{
"name": "Khoi Hoang",
Expand Down Expand Up @@ -36,6 +36,12 @@
"version": ">=1.0.2",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "WiFiMulti_Generic",
"version": ">=1.1.1",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "ESP_AT_Lib",
Expand Down
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name=WiFiWebServer
version=1.7.0
version=1.8.0
author=Khoi Hoang
license=MIT
maintainer=Khoi Hoang <[email protected]>
sentence=Simple WiFiWebServer, HTTP Client and WebSocket Client library for AVR Mega, megaAVR, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano-RP2040-Connect, RASPBERRY_PI_PICO, ESP32/ESP8266, etc.) boards using WiFi, such as WiFiNINA, WiFi101, U-Blox W101, W102, ESP8266/ESP32-AT modules/shields, with functions similar to those of ESP8266/ESP32 WebServer libraries.
paragraph=The WebServer supports HTTP GET and POST requests, provides argument parsing, handles one client at a time. It now provides HTTP Client and WebSocket Client.
paragraph=The WebServer supports HTTP GET and POST requests, provides argument parsing, handles one client at a time. It now provides HTTP Client and WebSocket Client. Now using WiFiMulti_Generic library
category=Communication
url=https://github.com/khoih-prog/WiFiWebServer
architectures=*
depends=Functional-Vlpp,WiFiNINA_Generic,ESP_AT_Lib,WiFiEspAT
depends=Functional-Vlpp, WiFiNINA_Generic, ESP_AT_Lib, WiFiEspAT, WiFiMulti_Generic
includes=WiFiWebServer.h, WiFiWebServer.hpp, WiFiHttpClient.h
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,19 @@ upload_speed = 921600

; Checks for the compatibility with frameworks and dev/platforms
lib_compat_mode = strict
lib_ldf_mode = chain+
;lib_ldf_mode = deep+

lib_deps =
; PlatformIO 4.x
; Functional-Vlpp@>=1.0.2
; WiFiNINA_Generic@>=1.8.14-3
; WiFiMulti_Generic@>=1.1.1
; ESP_AT_Lib@>=1.4.1
; PlatformIO 5.x
khoih-prog/Functional-Vlpp@>=1.0.2
khoih-prog/WiFiNINA_Generic@>=1.8.14-3
khoih-prog/WiFiMulti_Generic@>=1.1.1
khoih-prog/ESP_AT_Lib@>=1.4.1

build_flags =
Expand Down
3 changes: 2 additions & 1 deletion src/Parsing-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
**********************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiHttpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiWebServer-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
**********************************************************************************************************************************/

#pragma once
Expand Down
9 changes: 5 additions & 4 deletions src/WiFiWebServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
**********************************************************************************************************************************/

#pragma once
Expand All @@ -31,13 +32,13 @@
#define WiFiWebServer_H

#ifndef WIFI_WEBSERVER_VERSION
#define WIFI_WEBSERVER_VERSION "WiFiWebServer v1.7.0"
#define WIFI_WEBSERVER_VERSION "WiFiWebServer v1.8.0"

#define WIFI_WEBSERVER_VERSION_MAJOR 1
#define WIFI_WEBSERVER_VERSION_MINOR 7
#define WIFI_WEBSERVER_VERSION_MINOR 8
#define WIFI_WEBSERVER_VERSION_PATCH 0

#define WIFI_WEBSERVER_VERSION_INT 1007000
#define WIFI_WEBSERVER_VERSION_INT 1008000
#endif

#include "WiFiWebServer.hpp"
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiWebServer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
**********************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/WiFi_HTTPClient/WiFi_HttpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

// Class to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/WiFi_HTTPClient/WiFi_HttpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

// Class to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/WiFi_HTTPClient/WiFi_URLEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/WiFi_HTTPClient/WiFi_URLEncoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
3 changes: 2 additions & 1 deletion src/WiFi_HTTPClient/WiFi_WebSocketClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

// (c) Copyright Arduino. 2016
Expand Down
3 changes: 2 additions & 1 deletion src/WiFi_HTTPClient/WiFi_WebSocketClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

// (c) Copyright Arduino. 2016
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/base64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

#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 @@ -13,7 +13,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/cdecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

#if !(ESP32 || ESP8266)
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/cdecode.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/cencode.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

#if !(ESP32 || ESP8266)
Expand Down
3 changes: 2 additions & 1 deletion src/libb64/cencode.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@file Esp8266WebServer.h
@author Ivan Grokhotkov
Version: 1.7.0
Version: 1.8.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.2 K Hoang 22/02/2022 Add support to megaAVR using Arduino megaAVR core
1.6.3 K Hoang 02/03/2022 Fix decoding error bug
1.7.0 K Hoang 05/04/2022 Fix issue with Portenta_H7 core v2.7.2+
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples.
*****************************************************************************************************************************/

#pragma once
Expand Down
Loading

0 comments on commit 00b93f1

Please sign in to comment.