This example project provides a Command Line Interface (CLI) to interact with the Wi-Fi FMAC driver and the LwIP APIs.
One of the supported platforms listed below is required to run the example:
- EFM32 Giant Gecko GG11 Starter Kit (SLSTK3701A) with WF200 Wi-Fi® Expansion Kit (SLEXP8022A) or WFM200S Wi-Fi® Expansion Kit (SLEXP8023A)
- EFR32MG Zigbee and Thread Starter Kit (SLWSTK6000B) with WF200 Wi-Fi® Expansion Kit (SLEXP8022A) or WFM200S Wi-Fi® Expansion Kit (SLEXP8023A)
- WGM160P Wi-Fi® Module Starter Kit
Additionally, a PC is required to configure the board and it can also be used to load a binary file on the board, to compile the Simplicity Studio project or run a serial terminal.
The required software includes:
- Simplicity Studio v5 and the Gecko SDK Suite (4.0.0 or newer)
- The example project and the Wi-Fi Full MAC driver (available in the Gecko Platform SDK)
- (Optional) A Serial terminal to communicate with the board. For example, Tera Term or Putty
Simplicity Studio 5 is a free software suite needed to start developing your application. To install Simplicity Studio 5, please follow this procedure by selecting the options [Install by connecting device(s)] and [Auto].
Please follow the instructions related to the platform suiting your case:
- EFM32 Giant Gecko GG11 Starter Kit setup or EFR32MG Zigbee and Thread Starter Kit setup
- WGM160P Wi-Fi® Module Starter Kit setup
Note that at step 6, select Platform - Wi-Fi CLI on Micrium OS kernel instead of Platform - Wi-Fi Commissioning Micrium OS Kernel.
-
Please follow this instruction Note that at step 5, the hex file name is wifi_cli_micriumos.hex
-
Reset the board using the 'RESET' button. You should see the following output.
FMAC Driver version x.x.x WF200 Firmware version x.x.x WF200 initialization successful Wi-Fi CLI Application Example >
-
The Wi-Fi cli project is ready to receive commands. You can start by the 'help' command to list available commands.
The 'help' list below is provided as an indication. To access an up-to-date list, use the 'help' command on the target.
help lwip lwip CLI commands reset Reset the host CPU [*] reset ping Send ICMP ECHO_REQUEST to network hosts [*] [-n nb] <ip> iperf Start a TCP iPerf test as a client or a server [*] iperf <-c ip [-t dur] [-p port] [-k] | -s> iperf_server_stop Stop the running iPerf server [*] iperf_stop_server iperf_client_stop Stop the running iPerf client [*] iperf_stop_client wifi Wifi CLI commands
Additionally, you can display a specific command help by entering:
@ [command] help