Skip to content

Commit bc90a2e

Browse files
committed
docs: Sync CN translation with EN
1 parent 4e7bfc3 commit bc90a2e

File tree

7 files changed

+18
-8
lines changed

7 files changed

+18
-8
lines changed

docs/en/migration-guides/release-5.x/5.0/peripherals.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ RTC Subsystem Control
1515

1616
RTC control APIs have been moved from ``driver/rtc_cntl.h`` to ``esp_private/rtc_ctrl.h``.
1717

18-
1918
.. _deprecate_adc_driver:
2019

2120
ADC

docs/en/migration-guides/release-5.x/5.2/wifi.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Wi-Fi Enterprise Security
99

1010
APIs defined in `esp_wpa2.h` have been deprecated. Please use newer APIs from `esp_eap_client.h`.
1111

12-
1312
Wi-Fi Disconnect Reason Codes
1413
------------------------------
1514

@@ -22,7 +21,7 @@ For the event WIFI_EVENT_STA_DISCONNECTED, the original reason code WIFI_REASON_
2221

2322
For details, please refer to :ref:`esp_wifi_reason_code`.
2423

25-
2624
WiFi Multiple Antennas
2725
----------------------
26+
2827
WiFi multiple antennas api will be deprecated. Please use newer APIs from `esp_phy.h`.

docs/en/migration-guides/release-6.x/6.0/peripherals.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ADC
1616

1717
The legacy ADC driver ``driver/adc.h`` is deprecated since version 5.0 (see :ref:`deprecate_adc_driver`). Starting from version 6.0, the legacy driver is completely removed. The new driver is placed in the :component:`esp_adc`, and the header file path is ``esp_adc/adc_oneshot.h``, ``esp_adc/adc_continuous.h``, ``esp_adc/adc_cali.h`` and ``esp_adc/adc_cali_scheme.h``.
1818

19-
2019
RMT
2120
---
2221

docs/en/migration-guides/release-6.x/6.0/system.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Xtensa
77
------
88

99
The Xtensa special register header files have been updated to use a new naming convention. The old ``specreg.h`` header files are now deprecated and will be removed in a future release.
10+
1011
The register names have been updated to use the ``XT_REG_`` prefix. Please use the new ``xt_specreg.h`` file instead.
1112

1213
Power Management

docs/zh_CN/api-reference/peripherals/spi_flash/spi_flash_idf_vs_rom.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ ESP-IDF 支持但不包含在芯片 ROM 中的功能
4040
:esp32s3: - 修复了只能将 16 MB 虚拟地址范围映射到 flash 只读数据中的问题。
4141
:esp32c3: - 修复了只能将 128 KB 虚拟地址范围映射到 flash 指令中的问题。
4242
:esp32c2: - 修复了只能将最多 128 KB 虚拟地址范围映射到 flash 指令中的问题。
43+
- 修复了擦除和写入函数在地址与长度相加超出 32 位边界时,可能绕过边界检查的问题。

docs/zh_CN/migration-guides/release-5.x/5.2/wifi.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ Wi-Fi 企业级安全
99

1010
在 `esp_wpa2.h` 中定义的 API 已弃用,请使用来自 `esp_eap_client.h` 的新 API。
1111

12+
Wi-Fi 断开连接原因代码
13+
------------------------
14+
15+
对于事件 WIFI_EVENT_STA_DISCONNECTED,原有的断开原因代码 WIFI_REASON_NO_AP_FOUND 已细分为以下几种情况:
16+
17+
- REASON_NO_AP_FOUND(原始原因码,仍在某些场景中使用)
18+
- REASON_NO_AP_FOUND_IN_RSSI_THRESHOLD(在 RSSI 门限范围内未找到 AP)
19+
- REASON_NO_AP_FOUND_IN_AUTHMODE_THRESHOLD(在认证模式门限范围内未找到 AP)
20+
- REASON_NO_AP_FOUND_W_COMPATIBLE_SECURITY(未找到具有兼容安全性的 AP)
21+
22+
1223
Wi-Fi 多天线
1324
------------------------
25+
1426
Wi-Fi 多天线相关的 API 将要被弃用,请使用来自 `esp_phy.h` 的新 API。

docs/zh_CN/migration-guides/release-5.x/5.4/wifi.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Wi-Fi 扫描和连接
1111

1212
- :component_file:`esp_wifi/include/esp_wifi_he_types.h`
1313

14-
- :cpp:struct:`esp_wifi_htc_omc_t` 中:
14+
- :cpp:struct:`esp_wifi_htc_omc_t` 中
1515

1616
- ``uph_id``, ``ul_pw_headroom``, ``min_tx_pw_flag`` 字段被弃用
1717

1818
- :component_file:`esp_wifi/include/esp_wifi_types_generic.h`
1919

20-
- :cpp:struct:`wifi_ap_record_t` 中:
20+
- :cpp:struct:`wifi_ap_record_t` 中
2121

2222
- ``bandwidth`` 的类型从 ``uint8_t`` 更改为 ``wifi_bandwidth_t``
2323

@@ -27,7 +27,7 @@ Wi-Fi 扫描和连接
2727
WPA3 企业版 Wi‑Fi 认证模式更改
2828
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2929

30-
在 ESP‑IDF v5.4 之前,支持 WPA3‑Enterprise‑Only 和 WPA3‑Enterprise‑Transition 的接入点(AP)的认证模式(``wifi_auth_mode_t``)均被识别为 ``WIFI_AUTH_WPA2_ENTERPRISE``.
30+
在 ESP‑IDF v5.4 之前,支持 WPA3‑Enterprise‑Only 和 WPA3‑Enterprise‑Transition 的接入点 (AP) 的认证模式(``wifi_auth_mode_t``)均被识别为 ``WIFI_AUTH_WPA2_ENTERPRISE``.
3131

3232
从 v5.4 开始,该行为已更新:
3333

@@ -40,7 +40,6 @@ WPA3 企业版 Wi‑Fi 认证模式更改
4040

4141
如果您的应用程序严格检查 ``WIFI_AUTH_WPA2_ENTERPRISE`` 或 ``WIFI_AUTH_ENTERPRISE`` 来识别企业级 AP,则无法识别以 WPA3‑Enterprise‑Only 或 WPA3‑Enterprise‑Transition 模式运行的 AP.
4242

43-
4443
**建议操作**
4544

4645
为确保与这些模式兼容,请更新您的应用程序关于认证模式的检查逻辑,将新的 ``WIFI_AUTH_WPA3_ENTERPRISE`` 和 ``WIFI_AUTH_WPA2_WPA3_ENTERPRISE`` 模式包含进来.

0 commit comments

Comments
 (0)