ESP32 WIFI Scan

The ESP32 Wi-Fi scan functionality allows you to detect and retrieve information about the available Wi-Fi networks in the vicinity. 

The ESP32 Wi-Fi module scans the surrounding radio frequency spectrum and listens for beacon frames, which are broadcasted by Wi-Fi access points (Wireless Router). These beacon frames contain information about the AP, such as its SSID (network name), signal strength (RSSI), security settings, supported Wi-Fi standards, and other details.

The Received Signal Strength Indicator (RSSI) is typically represented as a negative valueThe RSSI value represents the strength of the signal received. It is measured in decibels (dBm). The reference point for RSSI measurements is typically 0 dBm, which represents the theoretical maximum power level. Therefore, in the following output, the RSSI is alwaysa negative value. The higher the RSSI value, the stronger the received signal. 

There are two main methods used in the following wifi scan demo:

WiFi.scanNetworks()
Start Scan Network in block mode, and return the number of scanned networks.
WiFi.scanDelete()
 Delete the scan results and free the memory.

 

RELATED ARTICLES

Leave a comment

Your email address will not be published. Required fields are marked *

Please note, comments must be approved before they are published