Add Chinese translation for index.rst files and esp_wifi.rst file in api-reference following Kirill's English review, including:
-network/index.rst -network/esp_wifi.rst -peripherals/index.rst -provisioning/index.rst
This commit is contained in:
committed by
Krzysztof Budzynski
parent
f9043c43c9
commit
2864d6deb3
@@ -1 +1,36 @@
|
||||
.. include:: ../../../en/api-reference/network/esp_wifi.rst
|
||||
Wi-Fi 库
|
||||
========
|
||||
|
||||
:link_to_translation:`en:[English]`
|
||||
|
||||
概述
|
||||
-----
|
||||
|
||||
Wi-Fi 库支持配置及监控 ESP32 Wi-Fi 连网功能。
|
||||
|
||||
支持配置:
|
||||
|
||||
- 基站模式(即 STA 模式或 Wi-Fi 客户端模式),此时 ESP32 连接到接入点 (AP)。
|
||||
- AP 模式(即 Soft-AP 模式或接入点模式),此时基站连接到 ESP32。
|
||||
- AP-STA 共存模式(ESP32 既是接入点,同时又作为基站连接到另外一个接入点)。
|
||||
|
||||
- 上述模式的各种安全模式(WPA、WPA2 及 WEP 等)。
|
||||
- 扫描接入点(包括主动扫描及被动扫描)。
|
||||
- 使用混杂模式监控 IEEE802.11 Wi-Fi 数据包。
|
||||
|
||||
|
||||
应用示例
|
||||
----------
|
||||
|
||||
ESP-IDF 示例项目的 :example:`wifi` 目录下包含以下应用程序:
|
||||
|
||||
* Wi-Fi 示例代码;
|
||||
|
||||
* 另外一个简单的应用程序 `esp-idf-template <https://github.com/espressif/esp-idf-template>`_,演示了如何将 ESP32 模组连接到 AP。
|
||||
|
||||
|
||||
API 参考
|
||||
-------------
|
||||
|
||||
.. include:: /_build/inc/esp_wifi.inc
|
||||
.. include:: /_build/inc/esp_wifi_types.inc
|
||||
|
||||
@@ -1 +1,47 @@
|
||||
.. include:: ../../../en/api-reference/network/index.rst
|
||||
连网 API
|
||||
***************
|
||||
|
||||
:link_to_translation:`en:[English]`
|
||||
|
||||
Wi-Fi
|
||||
=======
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
Wi-Fi <esp_wifi>
|
||||
Smart Config <esp_smartconfig>
|
||||
ESP-NOW <esp_now>
|
||||
ESP Mesh <esp_mesh>
|
||||
|
||||
本部分的 Wi-Fi API 示例代码存放在 ESP-IDF 示例项目的 :example:`wifi` 目录下。
|
||||
|
||||
ESP-MESH 的示例代码存放在 ESP-IDF 示例项目的 :example:`mesh` 目录下。
|
||||
|
||||
|
||||
以太网
|
||||
========
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
Ethernet <esp_eth>
|
||||
|
||||
本部分的以太网 API 示例代码存放在 ESP-IDF 示例项目的 :example:`ethernet` 目录下。
|
||||
|
||||
|
||||
IP 网络层协议
|
||||
================
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
TCP/IP Adapter <tcpip_adapter.rst>
|
||||
|
||||
TCP/IP 套接字 API 的示例代码存放在 ESP-IDF 示例项目的 :example:`protocols/sockets` 目录下。
|
||||
|
||||
|
||||
应用层协议
|
||||
===========
|
||||
|
||||
应用层网络协议(IP 网络层协议之上)的相关文档存放在 :doc:`../protocols/index`。
|
||||
|
||||
Reference in New Issue
Block a user