5.2 WiFiScanner
5.2.1 Project Description
The WiFiScanner project demonstrates regular scanning of nearby Wi-Fi Access Points (APs). The WiFiScanner mainapp
project consists of the following files:
▪
scan.c: This file contains the main application function application_start(), which is the entry point and execution
of the firmware application.
▪
wifi_config_dct.h: This file contains the Wi-Fi Access Point credentials (SSID and pass phrase key) and soft AP
credentials. Enter the client access point name and password credentials prior to building the application. These are
specified as CLIENT_AP_SSID and CLIENT_AP_PASSPHRASE. Note that the security type may also have to be
changed if the access point does not use WPA2 security
5.2.2 Hardware Connections
No specific hardware connections are required for this project because all connections are hardwired on the
CYW943907AEVAL1F EVK.
5.2.3 Verify Output
1.
Create and program the project using the description specified in
CYW943907AEVAL1F in
2.
After initialization of the platform, the example prints relevant information like SSID, country code, security etc of all the
nearby Access Points.as shown in Figure 5-13..
3.
Open a Terminal Emulation program and connect to the WICED serial port as detailed in Step 8 in the section
UART Port Configuration on CYW943907AEVAL1F
CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. *B
.
Figure 5-13. Console Output for WiFiScanner Application
Building and Programming a Project for
Kit to see the message printed at startup.
Code Examples
49
Need help?
Do you have a question about the CYW943907AEVAL1F and is the answer not in the manual?
Questions and answers