mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
update doc for set channel
This commit is contained in:
@@ -582,6 +582,8 @@ esp_err_t esp_wifi_get_bandwidth(wifi_interface_t ifx, wifi_bandwidth_t *bw);
|
|||||||
* @attention 2. When ESP32 is in STA mode, this API should not be called when STA is scanning or connecting to an external AP
|
* @attention 2. When ESP32 is in STA mode, this API should not be called when STA is scanning or connecting to an external AP
|
||||||
* @attention 3. When ESP32 is in softAP mode, this API should not be called when softAP has connected to external STAs
|
* @attention 3. When ESP32 is in softAP mode, this API should not be called when softAP has connected to external STAs
|
||||||
* @attention 4. When ESP32 is in STA+softAP mode, this API should not be called when in the scenarios described above
|
* @attention 4. When ESP32 is in STA+softAP mode, this API should not be called when in the scenarios described above
|
||||||
|
* @attention 5. The channel info set by this API will not be stored in NVS. So If you want to remeber the channel used before wifi stop,
|
||||||
|
* you need to call this API again after wifi start, or you can call `esp_wifi_set_config()` to store the channel info in NVS.
|
||||||
*
|
*
|
||||||
* @param primary for HT20, primary is the channel number, for HT40, primary is the primary channel
|
* @param primary for HT20, primary is the channel number, for HT40, primary is the primary channel
|
||||||
* @param second for HT20, second is ignored, for HT40, second is the second channel
|
* @param second for HT20, second is ignored, for HT40, second is the second channel
|
||||||
@@ -791,6 +793,7 @@ esp_err_t esp_wifi_get_promiscuous_ctrl_filter(wifi_promiscuous_filter_t *filter
|
|||||||
* @attention 2. For station configuration, bssid_set needs to be 0; and it needs to be 1 only when users need to check the MAC address of the AP.
|
* @attention 2. For station configuration, bssid_set needs to be 0; and it needs to be 1 only when users need to check the MAC address of the AP.
|
||||||
* @attention 3. ESP32 is limited to only one channel, so when in the soft-AP+station mode, the soft-AP will adjust its channel automatically to be the same as
|
* @attention 3. ESP32 is limited to only one channel, so when in the soft-AP+station mode, the soft-AP will adjust its channel automatically to be the same as
|
||||||
* the channel of the ESP32 station.
|
* the channel of the ESP32 station.
|
||||||
|
* @attention 4. The configuration will be stored in NVS
|
||||||
*
|
*
|
||||||
* @param interface interface
|
* @param interface interface
|
||||||
* @param conf station or soft-AP configuration
|
* @param conf station or soft-AP configuration
|
||||||
|
@@ -1224,7 +1224,7 @@ Call :cpp:func:`esp_wifi_set_mode()` to set the Wi-Fi mode.
|
|||||||
Station Basic Configuration
|
Station Basic Configuration
|
||||||
+++++++++++++++++++++++++++++++++++++
|
+++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
API esp_wifi_set_config() can be used to configure the station. The table below describes the fields in detail.
|
API :cpp:func:`esp_wifi_set_config()` can be used to configure the station. And the configuration will be stored in NVS. The table below describes the fields in detail.
|
||||||
|
|
||||||
+------------------+--------------------------------------------------------------+
|
+------------------+--------------------------------------------------------------+
|
||||||
| Field | Description |
|
| Field | Description |
|
||||||
@@ -1292,7 +1292,7 @@ API esp_wifi_set_config() can be used to configure the station. The table below
|
|||||||
AP Basic Configuration
|
AP Basic Configuration
|
||||||
+++++++++++++++++++++++++++++++++++++
|
+++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
API esp_wifi_set_config() can be used to configure the AP. The table below describes the fields in detail.
|
API :cpp:func:`esp_wifi_set_config()` can be used to configure the AP. And the configuration will be stored in NVS. The table below describes the fields in detail.
|
||||||
|
|
||||||
+------------------+--------------------------------------------------------------+
|
+------------------+--------------------------------------------------------------+
|
||||||
| Field | Description |
|
| Field | Description |
|
||||||
|
@@ -1184,7 +1184,7 @@ Wi-Fi 模式
|
|||||||
Station 基本配置
|
Station 基本配置
|
||||||
+++++++++++++++++++++++++++++++++++++
|
+++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
API esp_wifi_set_config() 可用于配置 station。下表详细介绍了各个字段。
|
API :cpp:func:`esp_wifi_set_config()` 可用于配置 station。配置的参数信息会保存到 NVS 中。下表详细介绍了各个字段。
|
||||||
|
|
||||||
|
|
||||||
+-------------+---------------------------------------------------------------------------+
|
+-------------+---------------------------------------------------------------------------+
|
||||||
@@ -1231,7 +1231,7 @@ API esp_wifi_set_config() 可用于配置 station。下表详细介绍了各个
|
|||||||
AP 基本配置
|
AP 基本配置
|
||||||
+++++++++++++++++++++++++++++++++++++
|
+++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
API esp_wifi_set_config() 可用于配置 AP。下表详细介绍了各个字段。
|
API :cpp:func:`esp_wifi_set_config()` 可用于配置 AP。配置的参数信息会保存到 NVS 中。下表详细介绍了各个字段。
|
||||||
|
|
||||||
+-----------------+----------------------------------------------------------------------------------+
|
+-----------------+----------------------------------------------------------------------------------+
|
||||||
| 字段 | 描述 |
|
| 字段 | 描述 |
|
||||||
|
Reference in New Issue
Block a user