A quick example of a simple WiFi application using the WiFi and network-socket APIs that is provided as a part of mbed-os.
Dependencies: WizFi310Interface_Draft
Fork of mbed-os-example-mbed5-wifi by
Diff: mbed_app.json
- Revision:
- 49:3df367a86ec7
- Parent:
- 44:63be19b7a3db
- Child:
- 50:31005695f3a3
--- a/mbed_app.json Mon Dec 04 14:00:03 2017 +0000 +++ b/mbed_app.json Mon Dec 18 23:46:25 2017 +0000 @@ -2,15 +2,15 @@ "config": { "wifi-shield": { "help": "Options are internal, WIFI_ESP8266, WIFI_IDW0XX1", - "value": "internal" + "value": "WIFI_WIZFI310" }, "wifi-ssid": { "help": "WiFi SSID", - "value": "\"SSID\"" + "value": "\"Dap\"" }, "wifi-password": { "help": "WiFi Password", - "value": "\"PASSWORD\"" + "value": "\"00001111\"" }, "wifi-tx": { "help": "TX pin for serial connection to external device", @@ -23,7 +23,9 @@ }, "target_overrides": { "*": { - "platform.stdio-convert-newlines": true + "platform.stdio-convert-newlines": true, + "platform.stdio-baud-rate": 115200, + "platform.default-serial-baud-rate": 115200 }, "UBLOX_EVK_ODIN_W2": { "target.device_has": ["EMAC"] @@ -32,6 +34,10 @@ "wifi-tx": "D8", "wifi-rx": "D2" }, + "NUCLEO_L073RZ": { + "wifi-tx": "D8", + "wifi-rx": "D2" + }, "NUCLEO_F401RE": { "wifi-tx": "D8", "wifi-rx": "D2"