Fork of Farrukh's webserver. Tested on LPC1768 and STM32f401 but should work on almost any platform.

Dependencies:   mbed

New version that has been tested on LPC1768 and STM32F401 Based on Farrukh's idea here: https://os.mbed.com/users/programmer5/code/STM32-ESP8266-WEBSERVER/

Enter your Wi-Fi SSID and PASSWORD and edit the espbaud to suit your ESP8266, Works fast and stable at 460800.

Use configuration program to reset and set up the ESP8266 if needed:

https://os.mbed.com/users/star297/code/ESP8266-configuaration-baudrate/

Limitations are no HTTPS.

Files at this revision

API Documentation at this revision

Comitter:
star297
Date:
Tue Apr 21 09:32:28 2020 +0000
Parent:
6:9f3f0db71230
Commit message:
code tidy

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Apr 21 09:31:19 2020 +0000
+++ b/main.cpp	Tue Apr 21 09:32:28 2020 +0000
@@ -49,8 +49,8 @@
 AnalogIn tempSensor(A0);
 */
 
-char ssid[32] = "Molino Metz";   // enter your router ssid inside the quotes
-char pwd[32] = "36693557"; // enter your router password inside the quotes
+char ssid[32] = "ssid";   // enter your router ssid inside the quotes
+char pwd[32] = "password"; // enter your router password inside the quotes
 
 #define BUFFER_SIZE 3000
 #define REQ_LINE_BUFF_SIZE 100