mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
esp_wifi: Modify wifi scan return value.
1. Modify wifi scan return value same to docs. 2. Change some logs' log level wo avoid misunderstanding. 3. Fix connect fail return wrong error code issue
This commit is contained in:
@@ -1132,10 +1132,11 @@ The table below shows the Wi-Fi reason-code may related to wrong password.
|
||||
- Description
|
||||
* - 4WAY_HANDSHAKE_TIMEOUT
|
||||
- 15
|
||||
- Four-way handshake times out.
|
||||
- Four-way handshake times out. Setting wrong password when STA connecting to an encrpted AP.
|
||||
* - NO_AP_FOUND
|
||||
- 201
|
||||
- This may related to wrong password in the two scenarios:
|
||||
|
||||
- Setting password when STA connecting to an unencrypted AP.
|
||||
- Doesn't setting password when STA connecting to an encrpted AP.
|
||||
* - HANDSHAKE_TIMEOUT
|
||||
@@ -1143,6 +1144,23 @@ The table below shows the Wi-Fi reason-code may related to wrong password.
|
||||
- Four-way handshake fails.
|
||||
|
||||
|
||||
The table below shows the Wi-Fi reason-code may related to low RSSI.
|
||||
|
||||
.. list-table::
|
||||
:header-rows: 1
|
||||
:widths: 5 10 40
|
||||
|
||||
* - Reason code
|
||||
- Value
|
||||
- Description
|
||||
* - NO_AP_FOUND
|
||||
- 201
|
||||
- The station fails to scan the target AP due to low RSSI
|
||||
* - HANDSHAKE_TIMEOUT
|
||||
- 204
|
||||
- Four-way handshake fails.
|
||||
|
||||
|
||||
{IDF_TARGET_NAME} Wi-Fi Station Connecting When Multiple APs Are Found
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user