A quick example of a simple WiFi application using the WiFi and network-socket APIs that is provided as a part of mbed-os.
The program brings up the WiFi and the underlying network interface, and uses it to scans available networks, connects to a network, prints interface and connection details and performs simple HTTP operation.
Supported hardware:
- UBLOX Odin board built-in WiFi module
- REALTEK_RTL8195AM built-in WiFi module
- NUCLEO_F401RE with X-NUCLEO-IDW01M1 WiFi expansion board using pins D8 D2
- NUCLEO_F429ZI with ESP8266-01 module using pins D1 D0
- NUCLEO_L476RG with ESP8266-01 module using pins D8 D2
- Other mbed targets with ESP8266 module or X-NUCLEO-IDW01M1 expansion board
Not that the mbed target board the WiFi shield gets connected to shouldn't have any other network interface e.g. Ethernet.
ESP8266 is a fallback option and will be used if the build is for unsupported platform.
History
Merge pull request #172 from ARMmbed/mbed-os-5.14
2019-10-08, by mbed_official [Tue, 08 Oct 2019 14:00:11 +0100] rev 99
Merge pull request #172 from ARMmbed/mbed-os-5.14
Mbed os 5.14
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi
Disable REALTEK_RTL8195AM from CI builds
2019-07-23, by mbed_official [Tue, 23 Jul 2019 12:00:48 +0100] rev 98
Disable REALTEK_RTL8195AM from CI builds
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi
Remove obsolete lines from README.md
2019-06-10, by mbed_official [Mon, 10 Jun 2019 11:00:13 +0100] rev 97
Remove obsolete lines from README.md
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi
Updating mbed-os to mbed-os-5.11.5
2019-02-25, by mbed_official [Mon, 25 Feb 2019 16:41:30 +0000] rev 96
Updating mbed-os to mbed-os-5.11.5
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi
Update mbed_app_esp8266.json
2019-02-19, by mbed_official [Tue, 19 Feb 2019 20:44:17 +0000] rev 95
Update mbed_app_esp8266.json
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi
Updating mbed-os to mbed-os-5.11.4
2019-02-13, by mbed_official [Wed, 13 Feb 2019 18:31:18 +0000] rev 94
Updating mbed-os to mbed-os-5.11.4
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi
Link to os.mbed.com/docs from README.md
2019-01-27, by mbed_official [Sun, 27 Jan 2019 18:30:04 +0000] rev 93
Link to os.mbed.com/docs from README.md
Link to rendered example.
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi
Updating mbed-os to mbed-os-5.11.2
2019-01-17, by mbed_official [Thu, 17 Jan 2019 12:45:04 +0000] rev 92
Updating mbed-os to mbed-os-5.11.2
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi
Cleanup and simplify the example (#144)
2019-01-09, by mbed_official [Wed, 09 Jan 2019 14:30:04 +0000] rev 91
Cleanup and simplify the example (#144)
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi
Update README.md
2019-01-09, by mbed_official [Wed, 09 Jan 2019 09:30:03 +0000] rev 90
Update README.md
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-wifi