Files
esp-idf/docs/zh_CN/api-reference/bluetooth/esp_pan.rst

24 lines
1.1 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

蓝牙\ :sup:`®` PAN API
======================
:link_to_translation:`en:[English]`
概述
----
PANPersonal Area Networking个人区域网络通过 BNEPBluetooth Network Encapsulation Protocol蓝牙网络封装协议在经典蓝牙上实现 IP 组网。设备可作为 PAN 用户PANU、组网中心GN或网络接入点NAP使对端设备能够交换以太网帧并获得网络访问。
应用示例
--------
- :example:`bluetooth/bluedroid/classic_bt/bt_pan_nap` 演示如何使用 PAN 网络接入点NAP角色使 PANU 对端可通过 ESP 设备的 Wi-Fi STA 上行链路访问互联网。
- :example:`bluetooth/bluedroid/classic_bt/bt_pan_panu` 演示如何使用 PAN 用户PANU角色连接 NAP例如 ``bt_pan_nap`` 或开启蓝牙网络共享的手机),并验证 IP 连通性。
- :example:`bluetooth/bluedroid/classic_bt/bt_pan_gn` 演示如何使用 PAN 组网GN角色作为中枢桥接多个 PANU 客户端,使其能在同一子网内通信。
API 参考
--------
.. include-build-file:: inc/esp_pan_api.inc