mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
b9a1756202
fix(nt/bluedroid): Split the device name set functions feat(bt/bluedroid): added APIs to get/set device name on BT GAP side change(bt/common): Marked some APIs in device module as deprecated 1. esp_bt_dev_set_device_name 2. esp_bt_dev_get_device_name change(bt/bluedroid): use BT GAP APIs to set/get device name in bluetooth classic examples change(bt/bluedroid): use BT/BLE GAP APIs to set/get device name in coexist examples
20 lines
795 B
ReStructuredText
20 lines
795 B
ReStructuredText
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.
|