Merge branch 'bugfix/remove_ble_func_discard_declaration' into 'master'

fix(ble/bluedroid): Remove BLE functions discard declaration

Closes BLERP-663

See merge request espressif/esp-idf!30011
This commit is contained in:
Zhi Wei Jian
2024-04-18 19:00:55 +08:00
88 changed files with 473 additions and 306 deletions

View File

@@ -1,15 +0,0 @@
Bluetooth Classic
=================
:link_to_translation:`zh_CN:[中文]`
Bluedroid
---------
The following Bluedroid API have been removed:
- :component_file:`bt/host/bluedroid/api/include/api/esp_bt_main.h`
- Remove ``esp_err_t esp_bluedroid_init(void)``
- Bluedroid stack initialization API has been replaced by ``esp_err_t esp_bluedroid_init_with_cfg(esp_bluedroid_config_t *cfg)``. Macro ``BT_BLUEDROID_INIT_CONFIG_DEFAULT()`` provides the default configuration for the initialization. The original function can be deleted directly.

View File

@@ -6,7 +6,6 @@ Migration from 5.1 to 5.2
.. toctree::
:maxdepth: 1
bluetooth-classic
gcc
:SOC_IEEE802154_SUPPORTED: ieee802154
peripherals

View File

@@ -0,0 +1,19 @@
Bluetooth Classic
=================
:link_to_translation:`zh_CN:[中文]`
Bluedroid
---------
The following Bluedroid API have been deprecated:
- :component_file:`/bt/host/bluedroid/api/include/api/esp_bt_device.h`
- Deprecate ``esp_err_t esp_bt_dev_set_device_name(const char *name)``
- Set device name API has been replaced by ``esp_err_t esp_bt_gap_set_device_name(const char *name)`` or ``esp_err_t esp_ble_gap_set_device_name(const char *name)``. The original function has been deprecated.
- Deprecate ``esp_err_t esp_bt_dev_get_device_name(void)``
- Get device name API has been replaced by ``esp_err_t esp_bt_gap_get_device_name(void)`` or ``esp_err_t esp_ble_gap_get_device_name(void)``. The original function has been deprecated.

View File

@@ -1,19 +0,0 @@
Bluetooth Low Energy
====================
:link_to_translation:`zh_CN:[中文]`
Bluedroid
---------
The following Bluedroid APIs have been removed:
- :component_file:`bt/host/bluedroid/api/include/api/esp_gap_ble_api.h`
- Remove ``esp_err_t esp_ble_gap_set_device_name(const char *name)``
- Local device name setting calls have been moved to :cpp:func:`esp_bt_dev_set_device_name`. This function can be deleted directly.
- Remove ``esp_err_t esp_ble_gap_get_device_name(void)``
- Local device name getting calls have been moved to :cpp:func:`esp_bt_dev_get_device_name`. This function can be deleted directly.

View File

@@ -6,7 +6,7 @@ Migration from 5.2 to 5.3
.. toctree::
:maxdepth: 1
bluetooth-low-energy
bluetooth-classic
gcc
peripherals
protocols