mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
docs(wifi): add migration guide for types change in wifi
This commit is contained in:
@ -10,3 +10,4 @@ Migration from 5.3 to 5.4
|
|||||||
system
|
system
|
||||||
bluetooth-classic
|
bluetooth-classic
|
||||||
storage
|
storage
|
||||||
|
wifi
|
||||||
|
22
docs/en/migration-guides/release-5.x/5.4/wifi.rst
Normal file
22
docs/en/migration-guides/release-5.x/5.4/wifi.rst
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Wi-Fi
|
||||||
|
======
|
||||||
|
|
||||||
|
:link_to_translation:`zh_CN:[中文]`
|
||||||
|
|
||||||
|
|
||||||
|
Wi-Fi Scan and Connect
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
The following types have been modified:
|
||||||
|
|
||||||
|
- :component_file:`esp_wifi/include/esp_wifi_he_types.h`
|
||||||
|
|
||||||
|
- :cpp:struct:`esp_wifi_htc_omc_t`:
|
||||||
|
|
||||||
|
- ``uph_id``, ``ul_pw_headroom``, ``min_tx_pw_flag`` are deprecated.
|
||||||
|
|
||||||
|
- :component_file:`esp_wifi/include/esp_wifi_types_generic.h`
|
||||||
|
|
||||||
|
- :cpp:struct:`wifi_ap_record_t`:
|
||||||
|
|
||||||
|
- The type of ``bandwidth`` has been changed from ``uint8_t`` to ``wifi_bandwidth_t``
|
@ -10,3 +10,4 @@
|
|||||||
system
|
system
|
||||||
bluetooth-classic
|
bluetooth-classic
|
||||||
storage
|
storage
|
||||||
|
wifi
|
||||||
|
24
docs/zh_CN/migration-guides/release-5.x/5.4/wifi.rst
Normal file
24
docs/zh_CN/migration-guides/release-5.x/5.4/wifi.rst
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Wi-Fi
|
||||||
|
=====
|
||||||
|
|
||||||
|
:link_to_translation:`en:[English]`
|
||||||
|
|
||||||
|
|
||||||
|
Wi-Fi 扫描和连接
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
以下类型已被更改:
|
||||||
|
- :component_file:`esp_wifi/include/esp_wifi_he_types.h`
|
||||||
|
|
||||||
|
- :cpp:struct:`esp_wifi_htc_omc_t` 中:
|
||||||
|
|
||||||
|
- ``uph_id``, ``ul_pw_headroom``, ``min_tx_pw_flag`` 字段被弃用
|
||||||
|
|
||||||
|
- :component_file:`esp_wifi/include/esp_wifi_types_generic.h`
|
||||||
|
|
||||||
|
- :cpp:struct:`wifi_ap_record_t` 中:
|
||||||
|
|
||||||
|
- ``bandwidth`` 的类型从 ``uint8_t`` 更改为 ``wifi_bandwidth_t``
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user