Run a Wi-Fi demo
This section lists the steps to import and run a Wi-Fi demo application.
Import a Wi-Fi demo application
On the Quickstart Panel and click the Import SDK example(s) link.
|
|
Select the LPCXpresso55xx evaluation board and click Next.
|
|
Locate wifi_examples underExamples.
Select the wifi_serial_iperf3 demo.
Select UART for the SDK Debug Console.
|
|
Click Finish.
Verify that the demo is loaded in the workspace.
|
|
Parent topic:Run a Wi-Fi demo
Run Wi-Fi demo application
This section lists the steps to build an application, program the application to EVK, run iPerf3 server, and run iPerf3 application.
Build application
Select a project folder
Click the Build link in the Quickstart Panel.
|
|
Wait until the project is built.
Verify that the build finished without any errors.
|
|
Parent topic:Run Wi-Fi demo application
Program application to EVK
Click the Debug link in the Quickstart Panel.
|
|
Select a debugging probe.
Click OK.
|
|
Verify the application stops at main(void) function.
Click Terminate, to close the debugging session, and run the application. If preferred, you can debug the application.
|
|
Parent topic:Run Wi-Fi demo application
Run iPerf3 server
Download and install iPerf3 from https://iperf.fr/iperf-download.php.
Open command line.
Type the command iperf3 -s to start the iPerf3 TCP server.
Parent topic:Run Wi-Fi demo application
Run iPerf3 application
Open a terminal emulator application such as TeraTerm or puTTY.
Configure a connection with the COM port of your board using the following settings:
115200 baud rate
8-bit data, no parity,
1-bit stop, no flow control |
|
Press the reset button on the evaluation board or restart the debugging session. The following message appears on your terminal.
|
|
Enter the IP address of the iPerf3 server. It is the IP address of the PC connected to the board.
After entering the IP address, the demo boots in provisioning mode.
|
|
Use your smartphone or PC to connect to the uAP created by the application.
SSID: Serial2Wifi
Password: nxp12345
After successfully connected to the uAP network, open address: http://192.168.10.1 in a web browser.
Select Provisioning.
Select the WLAN you want to connect to and provide network credentials.
NOTE The Wi-Fi module stores the WLAN credentials and it will use them automatically for next connection.
Press any key on the terminal application to see the menu of the application.
|
|
Press s, r, S, R to run iPerf tests using different settings.
Parent topic:Run Wi-Fi demo application
Parent topic:Run a Wi-Fi demo