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

Commit

Permalink
v1.9.2 : Workaround for RP2040W WiFi.status() bug
Browse files Browse the repository at this point in the history
### Releases v1.9.2

1. Workaround for RP2040W WiFi.status() bug
2. Update WiFiMulti-related examples
  • Loading branch information
khoih-prog authored Aug 16, 2022
1 parent f3cd1dd commit 5395ce1
Show file tree
Hide file tree
Showing 30 changed files with 91 additions and 69 deletions.
66 changes: 28 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ This [**WiFiWebServer library**](https://github.com/khoih-prog/WiFiWebServer) cu
17. [`ESP_AT_Lib library v1.4.1+`](https://github.com/khoih-prog/ESP_AT_Lib) if using ESP8288/ESP32-AT shields. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_AT_Lib.svg?)](https://www.ardu-badge.com/ESP_AT_Lib).
18. [`Modified WiFi101 Library v0.16.1+`](https://github.com/khoih-prog/WiFi101) to use SAMD MKR1000, etc. boards with WiFi101.
19. [`WiFiEspAT library v1.4.1+`](https://github.com/jandrassy/WiFiEspAT) if using ESP8288/ESP32-AT shields. [![GitHub release](https://img.shields.io/github/release/jandrassy/WiFiEspAT.svg)](https://github.com/jandrassy/WiFiEspAT/releases/latest)
20. [`WiFiMulti_Generic library v1.2.0+`](https://github.com/khoih-prog/WiFiMulti_Generic) to use WiFiMulti function. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiMulti_Generic.svg?)](https://www.ardu-badge.com/WiFiMulti_Generic). **New**
20. [`WiFiMulti_Generic library v1.2.1+`](https://github.com/khoih-prog/WiFiMulti_Generic) to use WiFiMulti function. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiMulti_Generic.svg?)](https://www.ardu-badge.com/WiFiMulti_Generic). **New**


---
Expand Down Expand Up @@ -914,7 +914,7 @@ The following are debug terminal output and screen shot when running example [**

```
Starting AdvancedServer on SAMD_NANO_33_IOT
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
[NN] ===============================
[NN]
Used/default SPI pinout:
Expand Down Expand Up @@ -1067,7 +1067,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L

```
Starting SimpleWebSocket on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to SSID: HueNet1
You're connected to the network, IP = 192.168.2.98
SSID: HueNet1, Signal strength (RSSI):-24 dBm
Expand Down Expand Up @@ -1101,7 +1101,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L

```
Starting SimpleHTTPExample on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to SSID: HueNet1
You're connected to the network, IP = 192.168.2.98
SSID: HueNet1, Signal strength (RSSI):-21 dBm
Expand Down Expand Up @@ -1160,7 +1160,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L

```
Starting DweetPost on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to SSID: HueNet1
You're connected to the network, IP = 192.168.2.98
SSID: HueNet1, Signal strength (RSSI):-22 dBm
Expand All @@ -1183,7 +1183,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L

```
Starting DweetGet on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to SSID: HueNet1
You're connected to the network, IP = 192.168.2.98
SSID: HueNet1, Signal strength (RSSI):-25 dBm
Expand Down Expand Up @@ -1212,7 +1212,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L

```
Starting MQTTClient_Auth on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Please upgrade the firmware
Connecting to WPA SSID: HueNet1
Connected! IP address: 192.168.2.98
Expand All @@ -1233,7 +1233,7 @@ The terminal output of **SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic L
```
Start MQTT_ThingStream on SAMD_NANO_33_IOT
Starting MQTTClient_Auth on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Please upgrade the firmware
Connecting to WPA SSID: HueNet1
Connected! IP address: 192.168.2.98
Expand Down Expand Up @@ -1261,7 +1261,7 @@ The terminal output of **RASPBERRY_PI_PICO with Custom WiFi (ESP8266-AT) using C

```
Starting WebClientRepeating on RASPBERRY_PI_PICO with Custom WiFi using Custom WiFi Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
WiFi shield init done
Connecting to SSID: HueNet1
You're connected to the network, IP = 192.168.2.76
Expand Down Expand Up @@ -1333,7 +1333,7 @@ The following are debug terminal output and screen shot when running example [**

```
Starting AdvancedServer on Nano RP2040 Connect with WiFiNINA using WiFiNINA_Generic Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to WPA SSID: HueNet1
HTTP server started @ 192.168.2.130
H[WIFI] handleClient: New Client
Expand Down Expand Up @@ -1459,7 +1459,7 @@ The terminal output of **ESP32_DEV** running [SimpleHTTPExample example](example

```
Starting SimpleHTTPExample on ESP32_DEV with ESP WiFi using WiFi Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to SSID: HueNet1
You're connected to the network, IP = 192.168.2.80
SSID: HueNet1, Signal strength (RSSI):-23 dBm
Expand Down Expand Up @@ -1525,7 +1525,7 @@ The following are debug terminal output and screen shot when running example [**

```
Starting AdvancedServer on PORTENTA_H7_M7 with Portenta_H7 WiFi
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to WPA SSID: HueNet1
HTTP server started @ 192.168.2.138
H[WIFI] String Len = 0, extend to 2048
Expand All @@ -1541,7 +1541,7 @@ The terminal output of **PORTENTA_H7_M7 with Portenta_H7 WiFi** running [MQTTCli

```
Starting MQTTClient_Auth on PORTENTA_H7_M7 with Portenta_H7 WiFi
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to SSID: HueNet1
Connected! IP address: 192.168.2.130
Attempting MQTT connection to broker.emqx.io...connected
Expand All @@ -1561,7 +1561,7 @@ The terminal output of **PORTENTA_H7_M7 with Portenta_H7 WiFi** running [WebClie

```
Starting WebClientRepeating on PORTENTA_H7_M7 with Portenta_H7 WiFi
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to SSID: HueNet1
You're connected to the network, IP = 192.168.2.130
SSID: HueNet1, Signal strength (RSSI):-33 dBm
Expand Down Expand Up @@ -1633,7 +1633,7 @@ The following are debug terminal output and screen shot when running example [**

```
Starting AdvancedWebServer on ESP32C3_DEV with ESP WiFi using WiFi Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to WPA SSID: HueNet1
HTTP server started @ 192.168.2.86
HH
Expand All @@ -1652,7 +1652,7 @@ The following are debug terminal output and screen shot when running example [**

```
Starting AdvancedWebServer on ESP32S3_DEV with ESP WiFi using WiFi Library
WiFiWebServer v1.9.1
WiFiWebServer v1.9.2
Connecting to WPA SSID: HueNet1
HTTP server started @ 192.168.2.86
HH
Expand All @@ -1671,8 +1671,8 @@ The following are debug terminal output and screen shot when running example [**

```
Starting AdvancedWebServer_WiFiMulti on Nano RP2040 Connect with WiFiNINA using WiFiNINA_Generic Library
WiFiMulti_Generic v1.2.0
WiFiWebServer v1.9.1
WiFiMulti_Generic v1.2.1
WiFiWebServer v1.9.2
Connecting WiFi...
WiFi connected, IP address: 192.168.2.113
You're connected to the network, IP = 192.168.2.113
Expand All @@ -1689,8 +1689,8 @@ The following are debug terminal output and screen shot when running example [**

```
Starting MQTTClient_Auth_WiFiMulti on Nano RP2040 Connect with WiFiNINA using WiFiNINA_Generic Library
WiFiMulti_Generic v1.2.0
WiFiWebServer v1.9.1
WiFiMulti_Generic v1.2.1
WiFiWebServer v1.9.2
Connecting WiFi...
WiFi connected, IP address: 192.168.2.113
You're connected to the network, IP = 192.168.2.113
Expand Down Expand Up @@ -1719,8 +1719,8 @@ The following are debug terminal output and screen shot when running example [**

```
Starting WiFiUdpNTPClient_WiFiMulti on Nano RP2040 Connect with WiFiNINA using WiFiNINA_Generic Library
WiFiMulti_Generic v1.2.0
WiFiWebServer v1.9.1
WiFiMulti_Generic v1.2.1
WiFiWebServer v1.9.2
Connecting WiFi...
WiFi connected, IP address: 192.168.2.113
You're connected to the network, IP = 192.168.2.113
Expand All @@ -1729,25 +1729,15 @@ Starting connection to server...
Listening on port 2390
HHH
Packet received
Seconds since Jan 1 1900 = 3859994140
Unix time = 1651005340
The UTC time is 20:35:40
Seconds since Jan 1 1900 = 3869665072
Unix time = 1660676272
The UTC time is 18:57:52
HH
Packet received
Seconds since Jan 1 1900 = 3859994160
Unix time = 1651005360
The UTC time is 20:36:00
Seconds since Jan 1 1900 = 3869665132
Unix time = 1660676332
The UTC time is 18:58:52
HH
Packet received
Seconds since Jan 1 1900 = 3859994180
Unix time = 1651005380
The UTC time is 20:36:20
HH
Packet received
Seconds since Jan 1 1900 = 3859994200
Unix time = 1651005400
The UTC time is 20:36:40
H
```

---
Expand Down
6 changes: 6 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.9.2](#releases-v192)
* [Releases v1.9.1](#releases-v191)
* [Releases v1.9.0](#releases-v190)
* [Releases v1.8.0](#releases-v180)
Expand Down Expand Up @@ -47,6 +48,11 @@

## Changelog

### Releases v1.9.2

1. Workaround for RP2040W WiFi.status() bug
2. Update WiFiMulti-related examples

### Releases v1.9.1

1. Add WiFiMulti support to RASPBERRY_PI_PICO_W using CYW43439 WiFi
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": "WiFiWebServer",
"version": "1.9.1",
"version": "1.9.2",
"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, megaAVR, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based (Nano-RP2040-Connect, RASPBERRY_PI_PICO, RASPBERRY_PI_PICO_W, ESP32/ESP8266, etc.) boards using WiFi, such as WiFiNINA, WiFi101, CYW43439, U-Blox W101, W102, ESP8266/ESP32-AT modules/shields, with functions similar to those of ESP8266/ESP32 WebServer libraries",
"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=WiFiWebServer
version=1.9.1
version=1.9.2
author=Khoi Hoang
license=MIT
maintainer=Khoi Hoang <[email protected]>
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.9.1
Version: 1.9.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples
1.9.0 K Hoang 12/08/2022 Add support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.1 K Hoang 13/08/2022 Add WiFiMulti support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.2 K Hoang 16/08/2022 Workarounnd for RP2040W WiFi.status() bug
**********************************************************************************************************************************/

#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.9.1
Version: 1.9.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples
1.9.0 K Hoang 12/08/2022 Add support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.1 K Hoang 13/08/2022 Add WiFiMulti support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.2 K Hoang 16/08/2022 Workarounnd for RP2040W WiFi.status() bug
*****************************************************************************************************************************/

// 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.9.1
Version: 1.9.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples
1.9.0 K Hoang 12/08/2022 Add support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.1 K Hoang 13/08/2022 Add WiFiMulti support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.2 K Hoang 16/08/2022 Workarounnd for RP2040W WiFi.status() bug
**********************************************************************************************************************************/

#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.9.1
Version: 1.9.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples
1.9.0 K Hoang 12/08/2022 Add support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.1 K Hoang 13/08/2022 Add WiFiMulti support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.2 K Hoang 16/08/2022 Workarounnd for RP2040W WiFi.status() bug
**********************************************************************************************************************************/

#pragma once
Expand All @@ -34,13 +35,13 @@
#define WiFiWebServer_H

#ifndef WIFI_WEBSERVER_VERSION
#define WIFI_WEBSERVER_VERSION "WiFiWebServer v1.9.1"
#define WIFI_WEBSERVER_VERSION "WiFiWebServer v1.9.2"

#define WIFI_WEBSERVER_VERSION_MAJOR 1
#define WIFI_WEBSERVER_VERSION_MINOR 9
#define WIFI_WEBSERVER_VERSION_PATCH 1
#define WIFI_WEBSERVER_VERSION_PATCH 2

#define WIFI_WEBSERVER_VERSION_INT 1009001
#define WIFI_WEBSERVER_VERSION_INT 1009002
#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.9.1
Version: 1.9.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples
1.9.0 K Hoang 12/08/2022 Add support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.1 K Hoang 13/08/2022 Add WiFiMulti support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.2 K Hoang 16/08/2022 Workarounnd for RP2040W WiFi.status() bug
**********************************************************************************************************************************/

#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.9.1
Version: 1.9.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples
1.9.0 K Hoang 12/08/2022 Add support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.1 K Hoang 13/08/2022 Add WiFiMulti support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.2 K Hoang 16/08/2022 Workarounnd for RP2040W WiFi.status() bug
*****************************************************************************************************************************/

// 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.9.1
Version: 1.9.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples
1.9.0 K Hoang 12/08/2022 Add support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.1 K Hoang 13/08/2022 Add WiFiMulti support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.2 K Hoang 16/08/2022 Workarounnd for RP2040W WiFi.status() bug
*****************************************************************************************************************************/

// 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.9.1
Version: 1.9.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.8.0 K Hoang 26/04/2022 Add WiFiMulti library support and examples
1.9.0 K Hoang 12/08/2022 Add support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.1 K Hoang 13/08/2022 Add WiFiMulti support to RASPBERRY_PI_PICO_W using CYW4343 WiFi
1.9.2 K Hoang 16/08/2022 Workarounnd for RP2040W WiFi.status() bug
*****************************************************************************************************************************/

// Library to simplify HTTP fetching on Arduino
Expand Down
Loading

0 comments on commit 5395ce1

Please sign in to comment.