Merge branch 'feat/support_blecrt_489' into 'master'

feat(ble/bluedroid): Added API to set channel map for scanning

Closes BLERP-2204

See merge request espressif/esp-idf!41681
This commit is contained in:
Island
2025-09-26 14:36:58 +08:00
3 changed files with 51 additions and 0 deletions
@@ -1452,6 +1452,10 @@ static void btc_ble_vendor_hci_cmd_complete_callback(tBTA_VSC_CMPL *p_param)
msg.act = ESP_GAP_BLE_SET_SCH_LEN_CMPL_EVT;
param.set_sch_len_cmpl.status = p_param->p_param_buf[0];
break;
case 0xFD19:
msg.act = ESP_GAP_BLE_SET_SCAN_CHAN_MAP_CMPL_EVT;
param.set_scan_chan_map_cmpl.status = btc_hci_to_esp_status(p_param->p_param_buf[0]);
break;
default:
param.vendor_cmd_cmpl.opcode = p_param->opcode;
param.vendor_cmd_cmpl.param_len = p_param->param_len;