Added BT_L2CAP API reference document

This commit is contained in:
xiongweichao
2022-05-18 15:48:21 +08:00
committed by BOT
parent 7624d5dd93
commit b2987c1e94
5 changed files with 19 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ CLASSIC_BT_DOCS = ['api-reference/bluetooth/classic_bt.rst',
'api-reference/bluetooth/esp_a2dp.rst',
'api-reference/bluetooth/esp_avrc.rst',
'api-reference/bluetooth/esp_hidd.rst',
'api-reference/bluetooth/esp_l2cap_bt.rst',
'api-reference/bluetooth/esp_hf_defs.rst',
'api-reference/bluetooth/esp_hf_client.rst',
'api-reference/bluetooth/esp_hf_ag.rst',

View File

@@ -56,6 +56,7 @@ INPUT = \
$(PROJECT_PATH)/components/bt/host/bluedroid/api/include/api/esp_hf_defs.h \
$(PROJECT_PATH)/components/bt/host/bluedroid/api/include/api/esp_spp_api.h \
$(PROJECT_PATH)/components/bt/host/bluedroid/api/include/api/esp_hidd_api.h \
$(PROJECT_PATH)/components/bt/host/bluedroid/api/include/api/esp_l2cap_bt_api.h \
$(PROJECT_PATH)/components/bt/host/nimble/esp-hci/include/esp_nimble_hci.h \
$(PROJECT_PATH)/components/bt/include/esp32/include/esp_bt.h \
$(PROJECT_PATH)/components/console/esp_console.h \

View File

@@ -12,3 +12,4 @@ CLASSIC BT
BT HFP Client <esp_hf_client>
BT HFP AG <esp_hf_ag>
BT HID DEVICE <esp_hidd>
BT L2CAP <esp_l2cap_bt>

View File

@@ -0,0 +1,15 @@
Clissic Bluetooth L2CAP API
============================
Application Example
-------------------
Check :example:`bluetooth/bluedroid/classic_bt` folder in ESP-IDF examples, which contains the following application:
* This is a BT_L2CAP demo. This demo can connect, send and recive L2CAP data :example:`bluetooth/bluedroid/classic_bt/bt_l2cap_client`, :example:`bluetooth/bluedroid/classic_bt/bt_l2cap_server`
API Reference
-------------
.. include-build-file:: inc/esp_l2cap_bt_api.inc

View File

@@ -0,0 +1 @@
.. include:: ../../../en/api-reference/bluetooth/esp_l2cap_bt.rst