EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1548 background imageLoading...
Page #1548 background image
Chapter 4. API Guides
WiFi Mode Policy Description
Station WIFI_COUNTRY_POLICY_AUTO If the connected AP has country
IE in its beacon, the country info
equals to the country info in beacon,
otherwise, use default country info.
For scan:
-If schan+nchan-1 >11 :
Use active scan
from schan to 11
and use passive
scan from 12 to
schan+nchan-1.
-If schan+nchan-1 <= 11 :
Use active scan
from schan to
schan+nchan-1.
Always keep in mind that if
an AP with hidden SSID is set
to a passive scan channel, the
passive scan will not find it. In
other words, if the application
hopes to find the AP with hidden
SSID in every channel, the policy of
country info should be configured to
WIFI_COUNTRY_POLICY_MANUAL.
Station WIFI_COUNTRY_POLICY_MANUALAlways use the configured country
info.
For scan, scans channelschanto
schan+nchan-1with active scan.
AP WIFI_COUNTRY_POLICY_AUTO Always use the configured country
info.
AP WIFI_COUNTRY_POLICY_MANUALAlways use the configured country
info.
Station/AP-
coexistence
WIFI_COUNTRY_POLICY_AUTO If the station doesnt connects to
any AP, the AP use the configured
country info. If the station connects
to an AP, the AP has the same coun-
try info as the station.
Same as station mode with policy
WIFI_COUNTRY_POLICY_AUTO.
Home Channel In AP mode, the home channel is defined as the AP channel. In Station mode, home channel is
defined as the channel of AP which the station is connected to. In Station/AP-coexistence mode, the home channel
of AP and station must be the same, if they are different, the stations home channel is always in priority. Take the
following as an example: the AP is on channel 6, and the station connects to an AP whose channel is 9. Since the
stations home channel has higher priority, the AP needs to switch its channel from 6 to make sure that it has the
same home channel as the station. While switching channel, the ESP32-S2 in SoftAP mode will notify the connected
stations about the channel migration using a Channel Switch Announcement (CSA). Station that supports channel
switching will transit without disconnecting and reconnecting to the SoftAP.
Wi-Fi Vendor IE Configuration
By default, all Wi-Fi management frames are processed by the Wi-Fi driver, and the application does not need
to care about them. Some applications, however, may have to handle the beacon, probe request, probe response
and other management frames. For example, if you insert some vendor-specic IE into the management frames,
Espressif Systems 1537
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish