This is a working example for the depreciated string based API mbed server socket function. Solid on LPC1768. I have included a 32k favicon file for web page stability. Multiple simultaneous connections are no issue here.
Diff: mbed_app.json
- Revision:
- 1:b7b5017e8d01
- Parent:
- 0:8e3c163d3dbb
diff -r 8e3c163d3dbb -r b7b5017e8d01 mbed_app.json
--- a/mbed_app.json Sat Jun 13 13:19:17 2020 +0000
+++ b/mbed_app.json Sat Jun 13 13:24:10 2020 +0000
@@ -8,24 +8,7 @@
"target_overrides": {
"*": {
"platform.stdio-baud-rate": 115200,
- "platform.stdio-convert-newlines": true,
- "nsapi.default-wifi-security": "WPA_WPA2",
- "nsapi.default-wifi-ssid": "\"MolinoMetz\"",
- "nsapi.default-wifi-password": "\"36693557\""
- },
- "NUCLEO_F767ZI": {
- "target.network-default-interface-type" : "ETHERNET",
- "esp8266.serial-baudrate" : 115200,
- "esp8266.tx" : "D1",
- "esp8266.rx" : "D0",
- "esp8266.provide-default" : true
- },
- "NUCLEO_H743ZI2": {
- "target.network-default-interface-type" : "ETHERNET",
- "esp8266.serial-baudrate" : 115200,
- "esp8266.tx" : "D1",
- "esp8266.rx" : "D0",
- "esp8266.provide-default" : true
+ "platform.stdio-convert-newlines": true
}
}
}