Skip to content

Commit 71e15a1

Browse files
committed
feat(ble/bluedroid): Add config for BLE vendor hci command and event
1 parent 0fe1586 commit 71e15a1

File tree

13 files changed

+266
-222
lines changed

13 files changed

+266
-222
lines changed

components/bt/host/bluedroid/Kconfig.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,13 @@ config BT_BLE_FEAT_CONN_SUBRATING
14931493
help
14941494
Enable BLE connection subrating feature
14951495

1496+
config BT_BLE_VENDOR_HCI_EN
1497+
bool "Enable BLE Vendor HCI command and event"
1498+
depends on BT_BLE_ENABLED
1499+
default y
1500+
help
1501+
This enables BLE vendor HCI command and event
1502+
14961503
config BT_BLE_HIGH_DUTY_ADV_INTERVAL
14971504
bool "Enable BLE high duty advertising interval feature"
14981505
depends on BT_BLE_ENABLED

components/bt/host/bluedroid/api/esp_gap_ble_api.c

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -131,19 +131,6 @@ esp_err_t esp_ble_gap_stop_advertising(void)
131131

132132
return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL);
133133
}
134-
135-
esp_err_t esp_ble_gap_clear_advertising(void)
136-
{
137-
btc_msg_t msg;
138-
139-
ESP_BLUEDROID_STATUS_CHECK(ESP_BLUEDROID_STATUS_ENABLED);
140-
141-
msg.sig = BTC_SIG_API_CALL;
142-
msg.pid = BTC_PID_GAP_BLE;
143-
msg.act = BTC_GAP_BLE_ACT_CLEAR_ADV;
144-
145-
return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL);
146-
}
147134
#endif // #if (BLE_42_ADV_EN == TRUE)
148135
#endif // #if (BLE_42_FEATURE_SUPPORT == TRUE)
149136

@@ -1013,23 +1000,6 @@ esp_err_t esp_ble_gap_set_privacy_mode(esp_ble_addr_type_t addr_type, esp_bd_add
10131000
== BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL);
10141001
}
10151002

1016-
esp_err_t esp_ble_gap_set_csa_support(uint8_t csa_select)
1017-
{
1018-
btc_msg_t msg;
1019-
btc_ble_gap_args_t arg;
1020-
1021-
ESP_BLUEDROID_STATUS_CHECK(ESP_BLUEDROID_STATUS_ENABLED);
1022-
1023-
msg.sig = BTC_SIG_API_CALL;
1024-
msg.pid = BTC_PID_GAP_BLE;
1025-
msg.act = BTC_GAP_BLE_SET_CSA_SUPPORT;
1026-
1027-
arg.set_csa_support.csa_select = csa_select;
1028-
1029-
return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gap_args_t), NULL, NULL)
1030-
== BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL);
1031-
}
1032-
10331003
#if (BLE_50_FEATURE_SUPPORT == TRUE)
10341004

10351005
esp_err_t esp_ble_gap_read_phy(esp_bd_addr_t bd_addr)
@@ -1713,6 +1683,7 @@ esp_err_t esp_ble_gap_set_periodic_adv_sync_trans_params(esp_bd_addr_t addr, con
17131683
}
17141684
#endif //#if (BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER == TRUE)
17151685

1686+
#if (BLE_VENDOR_HCI_EN == TRUE)
17161687
esp_err_t esp_ble_gap_vendor_command_send(esp_ble_vendor_cmd_params_t *vendor_cmd_param)
17171688
{
17181689
btc_msg_t msg = {0};
@@ -1759,6 +1730,37 @@ esp_err_t esp_ble_gap_set_vendor_event_mask(esp_ble_vendor_evt_mask_t event_mask
17591730
== BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL);
17601731
}
17611732

1733+
esp_err_t esp_ble_gap_clear_advertising(void)
1734+
{
1735+
btc_msg_t msg;
1736+
1737+
ESP_BLUEDROID_STATUS_CHECK(ESP_BLUEDROID_STATUS_ENABLED);
1738+
1739+
msg.sig = BTC_SIG_API_CALL;
1740+
msg.pid = BTC_PID_GAP_BLE;
1741+
msg.act = BTC_GAP_BLE_ACT_CLEAR_ADV;
1742+
1743+
return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL);
1744+
}
1745+
1746+
esp_err_t esp_ble_gap_set_csa_support(uint8_t csa_select)
1747+
{
1748+
btc_msg_t msg;
1749+
btc_ble_gap_args_t arg;
1750+
1751+
ESP_BLUEDROID_STATUS_CHECK(ESP_BLUEDROID_STATUS_ENABLED);
1752+
1753+
msg.sig = BTC_SIG_API_CALL;
1754+
msg.pid = BTC_PID_GAP_BLE;
1755+
msg.act = BTC_GAP_BLE_SET_CSA_SUPPORT;
1756+
1757+
arg.set_csa_support.csa_select = csa_select;
1758+
1759+
return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gap_args_t), NULL, NULL)
1760+
== BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL);
1761+
}
1762+
#endif // (BLE_VENDOR_HCI_EN == TRUE)
1763+
17621764
#if (BLE_FEAT_POWER_CONTROL_EN == TRUE)
17631765
esp_err_t esp_ble_gap_enhanced_read_transmit_power_level(uint16_t conn_handle, esp_ble_tx_power_phy_t phy)
17641766
{

components/bt/host/bluedroid/api/include/api/esp_gap_ble_api.h

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,12 +1305,6 @@ typedef union {
13051305
struct ble_adv_stop_cmpl_evt_param {
13061306
esp_bt_status_t status; /*!< Indicate adv stop operation success status */
13071307
} adv_stop_cmpl; /*!< Event parameter of ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT */
1308-
/**
1309-
* @brief ESP_GAP_BLE_ADV_CLEAR_COMPLETE_EVT
1310-
*/
1311-
struct ble_adv_clear_cmpl_evt_param {
1312-
esp_bt_status_t status; /*!< Indicate adv clear operation success status */
1313-
} adv_clear_cmpl; /*!< Event parameter of ESP_GAP_BLE_ADV_CLEAR_COMPLETE_EVT */
13141308
#endif // #if (BLE_42_FEATURE_SUPPORT == TRUE)
13151309
/**
13161310
* @brief ESP_GAP_BLE_SET_STATIC_RAND_ADDR_EVT
@@ -1712,6 +1706,19 @@ typedef union {
17121706
esp_ble_dtm_update_evt_t update_evt; /*!< DTM state change event, 0x00: DTM TX start, 0x01: DTM RX start, 0x02:DTM end */
17131707
uint16_t num_of_pkt; /*!< number of packets received, only valid if update_evt is DTM_TEST_STOP_EVT and shall be reported as 0 for a transmitter */
17141708
} dtm_state_update; /*!< Event parameter of ESP_GAP_BLE_DTM_TEST_UPDATE_EVT */
1709+
/**
1710+
* @brief ESP_GAP_BLE_SET_PRIVACY_MODE_COMPLETE_EVT
1711+
*/
1712+
struct ble_set_privacy_mode_cmpl_evt_param {
1713+
esp_bt_status_t status; /*!< Indicate privacy mode set operation success status */
1714+
} set_privacy_mode_cmpl; /*!< Event parameter of ESP_GAP_BLE_SET_PRIVACY_MODE_COMPLETE_EVT */
1715+
#if (BLE_VENDOR_HCI_EN == TRUE)
1716+
/**
1717+
* @brief ESP_GAP_BLE_ADV_CLEAR_COMPLETE_EVT
1718+
*/
1719+
struct ble_adv_clear_cmpl_evt_param {
1720+
esp_bt_status_t status; /*!< Indicate adv clear operation success status */
1721+
} adv_clear_cmpl; /*!< Event parameter of ESP_GAP_BLE_ADV_CLEAR_COMPLETE_EVT */
17151722
/**
17161723
* @brief ESP_GAP_BLE_VENDOR_CMD_COMPLETE_EVT
17171724
*/
@@ -1720,12 +1727,6 @@ typedef union {
17201727
uint16_t param_len; /*!< The length of parameter buffer */
17211728
uint8_t *p_param_buf; /*!< The point of parameter buffer */
17221729
} vendor_cmd_cmpl; /*!< Event parameter of ESP_GAP_BLE_VENDOR_CMD_COMPLETE_EVT */
1723-
/**
1724-
* @brief ESP_GAP_BLE_SET_PRIVACY_MODE_COMPLETE_EVT
1725-
*/
1726-
struct ble_set_privacy_mode_cmpl_evt_param {
1727-
esp_bt_status_t status; /*!< Indicate privacy mode set operation success status */
1728-
} set_privacy_mode_cmpl; /*!< Event parameter of ESP_GAP_BLE_SET_PRIVACY_MODE_COMPLETE_EVT */
17291730
/**
17301731
* @brief ESP_GAP_BLE_SET_CSA_SUPPORT_COMPLETE_EVT
17311732
*/
@@ -1747,6 +1748,7 @@ typedef union {
17471748
uint8_t param_len; /*!< The length of the event parameter buffer (for internal use only) */
17481749
uint8_t *param_buf; /*!< The pointer of the event parameter buffer (for internal use only) */
17491750
} vendor_hci_evt; /*!< Event parameter of ESP_GAP_BLE_VENDOR_HCI_EVT */
1751+
#endif // #if (BLE_VENDOR_HCI_EN == TRUE)
17501752
#if (BLE_FEAT_POWER_CONTROL_EN == TRUE)
17511753
/**
17521754
* @brief ESP_GAP_BLE_ENH_READ_TRANS_PWR_LEVEL_EVT

components/bt/host/bluedroid/bta/dm/bta_dm_act.c

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,7 @@ void bta_dm_cfg_coex_status (tBTA_DM_MSG *p_data)
733733
}
734734
#endif
735735

736+
#if (BLE_VENDOR_HCI_EN == TRUE)
736737
void bta_dm_send_vendor_hci(tBTA_DM_MSG *p_data)
737738
{
738739
BTM_VendorSpecificCommand(p_data->vendor_hci_cmd.opcode,
@@ -741,6 +742,28 @@ void bta_dm_send_vendor_hci(tBTA_DM_MSG *p_data)
741742
p_data->vendor_hci_cmd.vendor_hci_cb);
742743
}
743744

745+
void bta_dm_ble_gap_clear_adv(tBTA_DM_MSG *p_data)
746+
{
747+
if (BTM_BleClearAdv(p_data->ble_clear_adv.p_clear_adv_cback) == FALSE) {
748+
if (p_data->ble_clear_adv.p_clear_adv_cback) {
749+
(*p_data->ble_clear_adv.p_clear_adv_cback)(BTA_FAILURE);
750+
}
751+
}
752+
}
753+
754+
void bta_dm_ble_gap_set_csa_support(tBTA_DM_MSG *p_data)
755+
{
756+
APPL_TRACE_API("%s, csa_select = %d", __func__, p_data->ble_set_csa_support.csa_select);
757+
BTM_BleSetCsaSupport(p_data->ble_set_csa_support.csa_select, p_data->ble_set_csa_support.p_cback);
758+
}
759+
760+
void bta_dm_ble_gap_set_vendor_evt_mask(tBTA_DM_MSG *p_data)
761+
{
762+
APPL_TRACE_API("%s, evt_mask = %d", __func__, p_data->ble_set_vendor_evt_mask.evt_mask);
763+
BTM_BleSetVendorEventMask(p_data->ble_set_vendor_evt_mask.evt_mask, p_data->ble_set_vendor_evt_mask.p_cback);
764+
}
765+
#endif // #if (BLE_VENDOR_HCI_EN == TRUE)
766+
744767
/*******************************************************************************
745768
**
746769
** Function bta_dm_set_afh_channels
@@ -5822,15 +5845,6 @@ void bta_dm_ble_gap_dtm_stop(tBTA_DM_MSG *p_data)
58225845
}
58235846
#endif // #if ((BLE_42_DTM_TEST_EN == TRUE) || (BLE_50_DTM_TEST_EN == TRUE))
58245847

5825-
void bta_dm_ble_gap_clear_adv(tBTA_DM_MSG *p_data)
5826-
{
5827-
if (BTM_BleClearAdv(p_data->ble_clear_adv.p_clear_adv_cback) == FALSE) {
5828-
if (p_data->ble_clear_adv.p_clear_adv_cback) {
5829-
(*p_data->ble_clear_adv.p_clear_adv_cback)(BTA_FAILURE);
5830-
}
5831-
}
5832-
}
5833-
58345848
void bta_dm_ble_gap_set_rpa_timeout(tBTA_DM_MSG *p_data)
58355849
{
58365850
APPL_TRACE_API("%s, rpa_timeout = %d", __func__, p_data->set_rpa_timeout.rpa_timeout);
@@ -5853,18 +5867,6 @@ void bta_dm_ble_gap_set_privacy_mode(tBTA_DM_MSG *p_data)
58535867
p_data->ble_set_privacy_mode.privacy_mode, p_data->ble_set_privacy_mode.p_cback);
58545868
}
58555869

5856-
void bta_dm_ble_gap_set_csa_support(tBTA_DM_MSG *p_data)
5857-
{
5858-
APPL_TRACE_API("%s, csa_select = %d", __func__, p_data->ble_set_csa_support.csa_select);
5859-
BTM_BleSetCsaSupport(p_data->ble_set_csa_support.csa_select, p_data->ble_set_csa_support.p_cback);
5860-
}
5861-
5862-
void bta_dm_ble_gap_set_vendor_evt_mask(tBTA_DM_MSG *p_data)
5863-
{
5864-
APPL_TRACE_API("%s, evt_mask = %d", __func__, p_data->ble_set_vendor_evt_mask.evt_mask);
5865-
BTM_BleSetVendorEventMask(p_data->ble_set_vendor_evt_mask.evt_mask, p_data->ble_set_vendor_evt_mask.p_cback);
5866-
}
5867-
58685870
void bta_dm_read_ble_channel_map(tBTA_DM_MSG *p_data)
58695871
{
58705872
if (p_data && p_data->ch_map.read_ch_map_cb) {

components/bt/host/bluedroid/bta/dm/bta_dm_api.c

Lines changed: 52 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ void BTA_DmCfgCoexStatus(UINT8 op, UINT8 type, UINT8 status)
231231
}
232232
#endif
233233

234+
#if (BLE_VENDOR_HCI_EN == TRUE)
234235
void BTA_DmsendVendorHciCmd(UINT16 opcode, UINT8 param_len, UINT8 *p_param_buf, tBTA_SEND_VENDOR_HCI_CMPL_CBACK p_vendor_cmd_complete_cback)
235236
{
236237
tBTA_DM_API_SEND_VENDOR_HCI_CMD *p_msg;
@@ -246,6 +247,57 @@ void BTA_DmsendVendorHciCmd(UINT16 opcode, UINT8 param_len, UINT8 *p_param_buf,
246247
}
247248
}
248249

250+
/*******************************************************************************
251+
**
252+
** Function BTA_DmBleClearAdv
253+
**
254+
** Description This function is called to clear Advertising
255+
**
256+
** Parameters p_adv_data_cback : clear adv complete callback.
257+
**
258+
** Returns None
259+
**
260+
*******************************************************************************/
261+
void BTA_DmBleClearAdv (tBTA_CLEAR_ADV_CMPL_CBACK *p_clear_adv_cback)
262+
{
263+
tBTA_DM_API_CLEAR_ADV *p_msg;
264+
265+
if ((p_msg = (tBTA_DM_API_CLEAR_ADV *)
266+
osi_malloc(sizeof(tBTA_DM_API_CLEAR_ADV))) != NULL) {
267+
p_msg->hdr.event = BTA_DM_API_BLE_CLEAR_ADV_EVT;
268+
p_msg->p_clear_adv_cback = p_clear_adv_cback;
269+
270+
bta_sys_sendmsg(p_msg);
271+
}
272+
}
273+
274+
void BTA_DmBleGapSetCsaSupport(uint8_t csa_select, tBTA_SET_CSA_SUPPORT_CMPL_CBACK *p_callback)
275+
{
276+
tBTA_DM_API_BLE_SET_CSA_SUPPORT *p_msg;
277+
278+
if ((p_msg = (tBTA_DM_API_BLE_SET_CSA_SUPPORT *)osi_malloc(sizeof(tBTA_DM_API_BLE_SET_CSA_SUPPORT)))
279+
!= NULL) {
280+
p_msg->hdr.event = BTA_DM_API_BLE_SET_CSA_SUPPORT_EVT;
281+
p_msg->csa_select = csa_select;
282+
p_msg->p_cback = p_callback;
283+
bta_sys_sendmsg(p_msg);
284+
}
285+
}
286+
287+
void BTA_DmBleGapSetVendorEventMask(uint32_t evt_mask, tBTA_SET_VENDOR_EVT_MASK_CBACK *p_callback)
288+
{
289+
tBTA_DM_API_BLE_SET_VENDOR_EVT_MASK *p_msg;
290+
291+
if ((p_msg = (tBTA_DM_API_BLE_SET_VENDOR_EVT_MASK *)osi_malloc(sizeof(tBTA_DM_API_BLE_SET_VENDOR_EVT_MASK)))
292+
!= NULL) {
293+
p_msg->hdr.event = BTA_DM_API_BLE_SET_VENDOR_EVT_MASK_EVT;
294+
p_msg->evt_mask = evt_mask;
295+
p_msg->p_cback = p_callback;
296+
bta_sys_sendmsg(p_msg);
297+
}
298+
}
299+
#endif // #if (BLE_VENDOR_HCI_EN == TRUE)
300+
249301
#if (CLASSIC_BT_INCLUDED == TRUE)
250302

251303
void BTA_DmConfigEir(tBTA_DM_EIR_CONF *eir_config)
@@ -1896,30 +1948,6 @@ extern void BTA_DmBleBroadcast (BOOLEAN start, tBTA_START_STOP_ADV_CMPL_CBACK *p
18961948
bta_sys_sendmsg(p_msg);
18971949
}
18981950
}
1899-
1900-
/*******************************************************************************
1901-
**
1902-
** Function BTA_DmBleClearAdv
1903-
**
1904-
** Description This function is called to clear Advertising
1905-
**
1906-
** Parameters p_adv_data_cback : clear adv complete callback.
1907-
**
1908-
** Returns None
1909-
**
1910-
*******************************************************************************/
1911-
void BTA_DmBleClearAdv (tBTA_CLEAR_ADV_CMPL_CBACK *p_clear_adv_cback)
1912-
{
1913-
tBTA_DM_API_CLEAR_ADV *p_msg;
1914-
1915-
if ((p_msg = (tBTA_DM_API_CLEAR_ADV *)
1916-
osi_malloc(sizeof(tBTA_DM_API_CLEAR_ADV))) != NULL) {
1917-
p_msg->hdr.event = BTA_DM_API_BLE_CLEAR_ADV_EVT;
1918-
p_msg->p_clear_adv_cback = p_clear_adv_cback;
1919-
1920-
bta_sys_sendmsg(p_msg);
1921-
}
1922-
}
19231951
#endif // #if (BLE_42_ADV_EN == TRUE)
19241952

19251953
#endif
@@ -3014,32 +3042,6 @@ void BTA_DmClearRandAddress(void)
30143042
}
30153043
}
30163044

3017-
void BTA_DmBleGapSetCsaSupport(uint8_t csa_select, tBTA_SET_CSA_SUPPORT_CMPL_CBACK *p_callback)
3018-
{
3019-
tBTA_DM_API_BLE_SET_CSA_SUPPORT *p_msg;
3020-
3021-
if ((p_msg = (tBTA_DM_API_BLE_SET_CSA_SUPPORT *)osi_malloc(sizeof(tBTA_DM_API_BLE_SET_CSA_SUPPORT)))
3022-
!= NULL) {
3023-
p_msg->hdr.event = BTA_DM_API_BLE_SET_CSA_SUPPORT_EVT;
3024-
p_msg->csa_select = csa_select;
3025-
p_msg->p_cback = p_callback;
3026-
bta_sys_sendmsg(p_msg);
3027-
}
3028-
}
3029-
3030-
void BTA_DmBleGapSetVendorEventMask(uint32_t evt_mask, tBTA_SET_VENDOR_EVT_MASK_CBACK *p_callback)
3031-
{
3032-
tBTA_DM_API_BLE_SET_VENDOR_EVT_MASK *p_msg;
3033-
3034-
if ((p_msg = (tBTA_DM_API_BLE_SET_VENDOR_EVT_MASK *)osi_malloc(sizeof(tBTA_DM_API_BLE_SET_VENDOR_EVT_MASK)))
3035-
!= NULL) {
3036-
p_msg->hdr.event = BTA_DM_API_BLE_SET_VENDOR_EVT_MASK_EVT;
3037-
p_msg->evt_mask = evt_mask;
3038-
p_msg->p_cback = p_callback;
3039-
bta_sys_sendmsg(p_msg);
3040-
}
3041-
}
3042-
30433045
#if (BLE_FEAT_POWER_CONTROL_EN == TRUE)
30443046
void BTA_DmBleGapEnhReadTransPwrLevel(uint16_t conn_handle, uint8_t phy)
30453047
{

components/bt/host/bluedroid/bta/dm/bta_dm_main.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,12 @@ const tBTA_DM_ACTION bta_dm_action[BTA_DM_MAX_EVT] = {
6767
#if (ESP_COEX_VSC_INCLUDED == TRUE)
6868
bta_dm_cfg_coex_status, /* BTA_DM_API_CFG_COEX_ST_EVT */
6969
#endif
70+
#if (BLE_VENDOR_HCI_EN == TRUE)
7071
bta_dm_send_vendor_hci, /* BTA_DM_API_SEND_VENDOR_HCI_CMD_EVT */
72+
bta_dm_ble_gap_clear_adv, /* BTA_DM_API_BLE_CLEAR_ADV_EVT */
73+
bta_dm_ble_gap_set_csa_support, /* BTA_DM_API_BLE_SET_CSA_SUPPORT_EVT */
74+
bta_dm_ble_gap_set_vendor_evt_mask, /* BTA_DM_API_BLE_SET_VENDOR_EVT_MASK_EVT */
75+
#endif // #if (BLE_VENDOR_HCI_EN == TRUE)
7176
#if (CLASSIC_BT_INCLUDED == TRUE)
7277
bta_dm_config_eir, /* BTA_DM_API_CONFIG_EIR_EVT */
7378
bta_dm_set_page_timeout, /* BTA_DM_API_PAGE_TO_SET_EVT */
@@ -278,14 +283,9 @@ const tBTA_DM_ACTION bta_dm_action[BTA_DM_MAX_EVT] = {
278283
#if ((BLE_42_DTM_TEST_EN == TRUE) || (BLE_50_DTM_TEST_EN == TRUE))
279284
bta_dm_ble_gap_dtm_stop, /* BTA_DM_API_DTM_STOP_EVT */
280285
#endif // #if ((BLE_42_DTM_TEST_EN == TRUE) || (BLE_50_DTM_TEST_EN == TRUE))
281-
#if (BLE_42_ADV_EN == TRUE)
282-
bta_dm_ble_gap_clear_adv, /* BTA_DM_API_BLE_CLEAR_ADV_EVT */
283-
#endif // #if (BLE_42_ADV_EN == TRUE)
284286
bta_dm_ble_gap_set_rpa_timeout, /* BTA_DM_API_SET_RPA_TIMEOUT_EVT */
285287
bta_dm_ble_gap_add_dev_to_resolving_list, /* BTA_DM_API_ADD_DEV_TO_RESOLVING_LIST_EVT */
286288
bta_dm_ble_gap_set_privacy_mode, /* BTA_DM_API_SET_PRIVACY_MODE_EVT */
287-
bta_dm_ble_gap_set_csa_support, /* BTA_DM_API_BLE_SET_CSA_SUPPORT_EVT */
288-
bta_dm_ble_gap_set_vendor_evt_mask, /* BTA_DM_API_BLE_SET_VENDOR_EVT_MASK_EVT */
289289
bta_dm_read_ble_channel_map, /* BTA_DM_API_BLE_READ_CH_MAP_EVT */
290290
#endif
291291
#if (BLE_FEAT_ISO_EN == TRUE)

0 commit comments

Comments
 (0)