Bluetooth Classic
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 optionCONFIG_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:
/bt/host/bluedroid/api/include/api/esp_sdp_api.h
Field
user2_ptr_len
anduser2_ptr
is deprecated in structureesp_bluetooth_sdp_hdr_overlay_t
, since they are not used in SDP record creation or searching.
Bluetooth Common APIs
/bt/include/esp32c3/include/esp_bt.h
Move the declarations of
esp_wifi_bt_power_domain_on
andesp_wifi_bt_power_domain_off
fromesp_bt.h
toesp_phy_init.h
, since they belong to componentesp_phy
and are not expected to be used by customer.