mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
docs(bt/bluedroid): Added migration guide for bluedroid init API
Closes https://github.com/espressif/esp-idf/issues/15352
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Bluetooth Classic
|
||||
=================
|
||||
|
||||
:link_to_translation:`zh_CN:[中文]`
|
||||
|
||||
Bluedroid
|
||||
---------
|
||||
- The following Bluedroid APIs have been changed:
|
||||
|
||||
- :component_file:`/bt/host/bluedroid/api/include/api/esp_bt_main.h`
|
||||
|
||||
- The function ``esp_bluedroid_init`` has been deprecated and replaced by ``esp_bluedroid_init_with_cfg``.
|
||||
- A new configuration structure ``esp_bluedroid_config_t`` has been introduced as a parameter for ``esp_bluedroid_init_with_cfg``. The field ``ssp_en`` in this structure determines the pairing mode.
|
||||
|
||||
- The configuration ``CONFIG_BT_SSP_ENABLED`` has been removed, as pairing mode can now be configured at runtime.
|
||||
@@ -13,3 +13,4 @@ Migration from 5.1 to 5.2
|
||||
storage
|
||||
system
|
||||
:SOC_WIFI_SUPPORTED: wifi
|
||||
bluetooth-classic
|
||||
|
||||
Reference in New Issue
Block a user