mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-24 01:25:36 +00:00
Merge branch 'feature/add_di_api' into 'master'
Feature/add di api Closes IDFGH-11785 See merge request espressif/esp-idf!32872
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
Bluetooth Classic
|
||||
=================
|
||||
|
||||
:link_to_translation:`zh_CN:[中文]`
|
||||
|
||||
Bluedroid
|
||||
---------
|
||||
|
||||
- Previously, the use of SDP APIs was affected by the ``CONFIG_BT_L2CAP_ENABLED`` configuration, although there was no relationship between them. The new Kconfig option ``CONFIG_BT_SDP_COMMON_ENABLED`` has been introduced to separate common SDP operations from Classic Bluetooth L2CAP functionality. It shall be enabled before calling SDP related APIs.
|
||||
- The following Bluedroid API have been changed:
|
||||
|
||||
- :component_file:`/bt/host/bluedroid/api/include/api/esp_sdp_api.h`
|
||||
|
||||
- structure ``esp_bluetooth_sdp_hdr_overlay_t`` has been renamed to ``esp_bluetooth_sdp_hdr_t``
|
||||
- field ``uuid``, ``user1_ptr_len`` and ``user1_ptr`` in ``esp_bluetooth_sdp_hdr_overlay_t`` have been moved into ``esp_bluetooth_sdp_raw_record_t``
|
||||
- field ``user2_ptr_len`` and ``user2_ptr`` in ``esp_bluetooth_sdp_hdr_overlay_t`` have been removed
|
@@ -7,3 +7,4 @@ Migration from 5.3 to 5.4
|
||||
:maxdepth: 1
|
||||
|
||||
system
|
||||
bluetooth-classic
|
||||
|
@@ -0,0 +1,16 @@
|
||||
经典蓝牙
|
||||
=================
|
||||
|
||||
:link_to_translation:`en:[English]`
|
||||
|
||||
Bluedroid
|
||||
---------
|
||||
|
||||
- 之前,SDP 相关 API 的使用受到配置项 ``CONFIG_BT_L2CAP_ENABLED`` 影响,但是这两者并没有太大关联。新的配置项 ``CONFIG_BT_SDP_COMMON_ENABLED`` 将 SDP 通用功能从经典蓝牙 L2CAP 功能中分离出来,在使用 SDP 相关 API 前需要先使能该配置项。
|
||||
- 以下 Bluedroid API 发生变更
|
||||
|
||||
- :component_file:`/bt/host/bluedroid/api/include/api/esp_sdp_api.h`
|
||||
|
||||
- 结构体 ``esp_bluetooth_sdp_hdr_overlay_t`` 被重命名为 ``esp_bluetooth_sdp_hdr_t``
|
||||
- 结构体 ``esp_bluetooth_sdp_hdr_overlay_t`` 中的字段 ``uuid``, ``user1_ptr_len`` 和 ``user1_ptr`` 被移动到结构体 ``esp_bluetooth_sdp_raw_record_t`` 中
|
||||
- 结构体 ``esp_bluetooth_sdp_hdr_overlay_t`` 中的字段 ``user2_ptr_len`` 和 ``user2_ptr`` 被删除
|
@@ -7,3 +7,4 @@
|
||||
:maxdepth: 1
|
||||
|
||||
system
|
||||
bluetooth-classic
|
||||
|
Reference in New Issue
Block a user