Bluetooth Classic
Bluedroid
Previously, the use of SDP APIs was affected by the
CONFIG_BT_L2CAP_ENABLEDconfiguration, although there was no relationship between them. The new Kconfig optionCONFIG_BT_SDP_COMMON_ENABLEDhas 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_lenanduser2_ptris 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_onandesp_wifi_bt_power_domain_offfromesp_bt.htoesp_phy_init.h, since they belong to componentesp_phyand are not expected to be used by customer.