docs: add some details for wifi scan description

This commit is contained in:
muhaidong 2022-12-13 19:48:30 +08:00
parent b678fa1290
commit 0d2271e539
2 changed files with 2 additions and 2 deletions

View File

@ -1241,7 +1241,7 @@ API :cpp:func:`esp_wifi_set_config()` can be used to configure the station. And
* - bssid
- This is valid only when bssid_set is 1; see field “bssid_set”.
* - channel
- If the channel is 0, the station scans the channel 1 ~ N to search for the target AP; otherwise, the station starts by scanning the channel whose value is the same as that of the “channel” field, and then scans others to find the target AP. If you do not know which channel the target AP is running on, set it to 0.
- If the channel is 0, the station scans the channel 1 ~ N to search for the target AP; otherwise, the station starts by scanning the channel whose value is the same as that of the “channel” field, and then scans the channel 1 ~ N but skip the specific channel to find the target AP. For example, if the channel is 3, the scan order will be 3, 1, 2, 4,..., N. If you do not know which channel the target AP is running on, set it to 0.
* - sort_method
- This field is only for WIFI_ALL_CHANNEL_SCAN.

View File

@ -1242,7 +1242,7 @@ API :cpp:func:`esp_wifi_set_config()` 可用于配置 station。配置的参数
* - bssid
- 只有当 bssid_set 为 1 时有效。见字段 “bssid_set”。
* - channel
- 该字段为 0 时station 扫描信道 1 ~ N 寻找目标 AP否则station 首先扫描值与 “channel” 字段相同的信道,再扫描其他信道。如果您不知道目标 AP 在哪个信道,请将该字段设置为 0。
- 该字段为 0 时station 扫描信道 1 ~ N 寻找目标 AP否则station 首先扫描值与 “channel” 字段相同的信道,再扫描其他信道。比如,当该字段设置为 3 时,扫描顺序为 312...N 。如果您不知道目标 AP 在哪个信道,请将该字段设置为 0。
* - sort_method
- 该字段仅用于 WIFI_ALL_CHANNEL_SCAN 模式。