docs(wifi): add migration guide for types change in wifi

This commit is contained in:
yinqingzhao
2024-10-30 19:57:43 +08:00
committed by BOT
parent 504a248ba1
commit 3d95fd17e3
4 changed files with 48 additions and 0 deletions

View File

@ -10,3 +10,4 @@ Migration from 5.3 to 5.4
system
bluetooth-classic
storage
wifi

View 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``

View File

@ -10,3 +10,4 @@
system
bluetooth-classic
storage
wifi

View 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``