Skip to content

bulislaw/mbed-os-example-wifi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mbed-os-example-wifi

Wi-fi example for mbed OS 5.0

Getting started with the WiFi API

This is 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 (UBLOX_EVK_ODIN_W2) NOTE: WiFi is disabled by default for this board, to enable it you'll need to modify mbed-os/targets/targets.json file and add "EMAC" flag in device_has section for UBLOX_EVK_ODIN_W2 target.
  • ESP2866 module (Board it's connected to shouldn't have other network interface eg. Ethernet)

ESP2866 is a fallback option and will be used if the build is for unsupported platform.

Configuration

-DMBED_DEMO_WIFI_SSID=ssid  # ssid
-DMBED_DEMO_WIFI_PASS=pass  # passphrase

Documentation

More information on the network-socket API can be found in the mbed handbook.

About

Wi-fi example for mbed OS 5.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%