WiFiWebServer_RTL8720 library
How To Install Using Arduino Library Manager
Features
This WiFiWebServer_RTL8720 library is a simple yet complete WebServer library for Realtek RTL8720DN, RTL8722DM and RTM8722CSM boards using Arduino AmebaD core. Supporting WiFi at 2.4GHz and 5GHz
The functions are similar and compatible to those of ESP32 WebServer
and ESP8266WebServer
libraries to make life much easier to port sketches from ESP8266/ESP32.
This WiFiWebServer_RTL8720 library also provides high-level HTTP and WebSocket Client with the functions are similar and compatible to those of ArduinoHttpClient Library
The library provides supports to:
- WiFi Client, STA and AP mode
- TCP Server and Client
- UDP Server and Client
- HTTP Server and Client
- HTTP GET and POST requests, provides argument parsing, handles one client at a time.
- High-level HTTP (GET, POST, PUT, PATCH, DELETE) and WebSocket Client.
It is based on and modified from:
The WiFiWebServer
class found in WiFiWebServer_RTL8720.h
header, is a simple web server that knows how to handle HTTP requests such as GET and POST and can only support one client at a time.
Currently supported Boards
- Realtek RTL8720DN, RTL8722DM and RTM8722CSM
Changelog
Initial Releases v1.0.0
This is simple yet complete WebServer library for Realtek RTL8720DN, RTL8722DM and RTM8722CSM
boards. The functions are similar and compatible to ESP8266/ESP32 WebServer libraries to make life much easier to port sketches from ESP8266/ESP32.
Debug Terminal Output Samples
1. AdvancedWebServer on Rtlduino RTL8720DN
The following are debug terminal output and screen shot when running example AdvancedWebServer on Rtlduino RTL8720DN
Starting AdvancedServer on Rtlduino RTL8720DN with RTL8720DN
WiFiWebServer_RTL8720 v1.0.0
Current Firmware Version = 1.0.0
Attempting to connect to SSID: HueNet_5G
HTTP server started @ 192.168.2.152
2. MQTT_ThingStream on Rtlduino RTL8720DN
The terminal output of RTL8720DN running MQTT_ThingStream example
Start MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN
WiFiWebServer_RTL8720 v1.0.0
Current Firmware Version = 1.0.0
Attempting to connect to SSID: HueNet_5G
Connected! IP address: 192.168.2.152
***************************************
STM32_Pub
***************************************
Attempting MQTT connection to broker.emqx.io
...connected
Published connection message successfully!
Subcribed to: STM32_Sub
MQTT Message Send : STM32_Pub => Hello from MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN
MQTT Message receive [STM32_Pub] Hello from MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN
MQTT Message Send : STM32_Pub => Hello from MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN
MQTT Message receive [STM32_Pub] Hello from MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN
MQTT Message Send : STM32_Pub => Hello from MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN
MQTT Message receive [STM32_Pub] Hello from MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN
MQTT Message Send : STM32_Pub => Hello from MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN
MQTT Message receive [STM32_Pub] Hello from MQTT_ThingStream on Rtlduino RTL8720DN with RTL8720DN