mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 08:31:44 +01:00
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:
@@ -249,7 +249,6 @@ security/secure-boot-v1.rst
|
||||
security/index.rst
|
||||
about.rst
|
||||
resources.rst
|
||||
migration-guides/release-5.x/5.2/bluetooth-classic.rst
|
||||
migration-guides/release-5.x/5.2/ieee802154.rst
|
||||
migration-guides/release-5.x/5.2/gcc.rst
|
||||
migration-guides/release-5.x/5.2/protocols.rst
|
||||
|
||||
@@ -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.
|
||||
@@ -6,7 +6,6 @@ Migration from 5.1 to 5.2
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
bluetooth-classic
|
||||
gcc
|
||||
:SOC_IEEE802154_SUPPORTED: ieee802154
|
||||
peripherals
|
||||
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
@@ -6,7 +6,7 @@ Migration from 5.2 to 5.3
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
bluetooth-low-energy
|
||||
bluetooth-classic
|
||||
gcc
|
||||
peripherals
|
||||
protocols
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
经典蓝牙
|
||||
=================
|
||||
|
||||
: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,7 +6,6 @@
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
bluetooth-classic
|
||||
gcc
|
||||
:SOC_IEEE802154_SUPPORTED: ieee802154
|
||||
peripherals
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
经典蓝牙
|
||||
=================
|
||||
|
||||
:link_to_translation:`en:[English]`
|
||||
|
||||
Bluedroid
|
||||
---------
|
||||
|
||||
以下 Bluedroid API 已被废弃:
|
||||
|
||||
- :component_file:`/bt/host/bluedroid/api/include/api/esp_bt_device.h`
|
||||
|
||||
- 废弃 ``esp_err_t esp_bt_dev_set_device_name(const char *name)``
|
||||
|
||||
- 设置设备名 API 已被替换为 ``esp_err_t esp_bt_gap_set_device_name(const char *name)`` 或 ``esp_err_t esp_ble_gap_set_device_name(const char *name)``。 原来的函数已经被废弃。
|
||||
|
||||
- 废弃 ``esp_err_t esp_bt_dev_get_device_name(void)``
|
||||
|
||||
- 获取设备名 API 已被替换为 ``esp_err_t esp_bt_gap_get_device_name(void)`` 或 ``esp_err_t esp_ble_gap_get_device_name(void)``。 原来的函数已经被废弃。
|
||||
@@ -1,19 +0,0 @@
|
||||
低功耗蓝牙
|
||||
==========
|
||||
|
||||
:link_to_translation:`en:[English]`
|
||||
|
||||
Bluedroid
|
||||
---------
|
||||
|
||||
以下 Bluedroid API 已被移除:
|
||||
|
||||
- :component_file:`bt/host/bluedroid/api/include/api/esp_gap_ble_api.h`
|
||||
|
||||
- 移除 ``esp_err_t esp_ble_gap_set_device_name(const char *name)``
|
||||
|
||||
- 设置本地设备名的调用已经被移到 :cpp:func:`esp_bt_dev_set_device_name` 中。可直接删除该函数。
|
||||
|
||||
- 移除 ``esp_err_t esp_ble_gap_get_device_name(void)``
|
||||
|
||||
- 获取本地设备名的调用已经被移到 :cpp:func:`esp_bt_dev_get_device_name` 中。可直接删除该函数。
|
||||
@@ -6,7 +6,7 @@
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
bluetooth-low-energy
|
||||
bluetooth-classic
|
||||
gcc
|
||||
peripherals
|
||||
protocols
|
||||
|
||||
Reference in New Issue
Block a user