mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
docs: add WIFI_EVENT_STA_BEACON_TIMEOUT event docs.
This commit is contained in:
@@ -243,6 +243,11 @@ WIFI_EVENT_AP_PROBEREQRECVED
|
||||
This event is disabled by default. The application can enable it via API :cpp:func:`esp_wifi_set_event_mask()`.
|
||||
When this event is enabled, it will be raised each time the AP receives a probe request.
|
||||
|
||||
WIFI_EVENT_STA_BEACON_TIMEOUT
|
||||
++++++++++++++++++++++++++++++++++++
|
||||
|
||||
If the station does not receive the beacon of the connected AP within the inactive time, the beacon timeout happens, the `WIFI_EVENT_STA_BEACON_TIMEOUT`_ will arise. The application can set inactive time via API :cpp:func:`esp_wifi_set_inactive_time()`.
|
||||
|
||||
{IDF_TARGET_NAME} Wi-Fi Station General Scenario
|
||||
------------------------------------------------
|
||||
Below is a "big scenario" which describes some small scenarios in station mode:
|
||||
@@ -1019,7 +1024,7 @@ Another thing that need to be considered is that the reconnection may not connec
|
||||
Wi-Fi Beacon Timeout
|
||||
---------------------------
|
||||
|
||||
The beacon timeout mechanism is used by {IDF_TARGET_NAME} station to detect whether the AP is alive or not. If the station continuously loses 60 beacons of the connected AP, the beacon timeout happens.
|
||||
The beacon timeout mechanism is used by {IDF_TARGET_NAME} station to detect whether the AP is alive or not. If the station does not receive the beacon of the connected AP within the inactive time, the beacon timeout happens. The application can set inactive time via API :cpp:func:`esp_wifi_set_inactive_time()`.
|
||||
|
||||
After the beacon times out, the station sends 5 probe requests to the AP. If still no probe response or beacon is received from AP, the station disconnects from the AP and raises the event `WIFI_EVENT_STA_DISCONNECTED`_.
|
||||
|
||||
|
Reference in New Issue
Block a user