mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
Added BT_L2CAP API reference document
This commit is contained in:
@@ -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',
|
||||
|
@@ -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 \
|
||||
|
@@ -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>
|
||||
|
15
docs/en/api-reference/bluetooth/esp_l2cap_bt.rst
Normal file
15
docs/en/api-reference/bluetooth/esp_l2cap_bt.rst
Normal 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
|
||||
|
1
docs/zh_CN/api-reference/bluetooth/esp_l2cap_bt.rst
Normal file
1
docs/zh_CN/api-reference/bluetooth/esp_l2cap_bt.rst
Normal file
@@ -0,0 +1 @@
|
||||
.. include:: ../../../en/api-reference/bluetooth/esp_l2cap_bt.rst
|
Reference in New Issue
Block a user