docs(bt/bluedroid): Update migration docs for new version of API for Bluedroid host stack initialization

This commit is contained in:
liqigan
2024-01-22 14:19:39 +08:00
parent 11eaf41b37
commit c6a2bdbfa1
4 changed files with 32 additions and 0 deletions
@@ -0,0 +1,15 @@
经典蓝牙
=================
:link_to_translation:`en:[English]`
Bluedroid
---------
以下 Bluedroid API 已被移除:
- :component_file:`bt/host/bluedroid/api/include/api/esp_bt_main.h`
- 移除 ``esp_err_t esp_bluedroid_init(void)``
- Bluedroid 协议栈初始化 API 已被替换为 ``esp_err_t esp_bluedroid_init_with_cfg(esp_bluedroid_config_t *cfg)``。宏 ``BT_BLUEDROID_INIT_CONFIG_DEFAULT()`` 用于提供默认的初始化参数。原来的初始化函数可以直接删除。
@@ -6,6 +6,7 @@
.. toctree::
:maxdepth: 1
bluetooth-classic
gcc
peripherals
protocols