wifi_setup
Overview
This demo implements a simple Wi-Fi station setup. The application will automatically scan local wireless networks at startup, then the user will be able to connect to one of the available networks and setup a ping task that will test the connection.
Before building the example application select Wi-Fi module macro in the app_config.h. (see #define WIFI_
Prepare the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Connect the Wi-Fi module.
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo starts, basic initialization proceeds - this might take several seconds.
After wifi is initialized, the application will try to scan nearby networks.
Once the scan is finished, the user will be prompted to enter SSID and password for one of the scanned networks to join.
After successfully joining the network, the user will be requested to specify a valid IPv4 address, which will be used for ping test.