Skip to content

Commit

Permalink
ble: stubs: add missing stubs for BLE calls
Browse files Browse the repository at this point in the history
Add missing BLE TX power control functions into
stubs list.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
  • Loading branch information
sylvioalves committed Jan 8, 2025
1 parent 05b1eb3 commit 5a10d43
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions zephyr/port/bluetooth/bt_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,36 @@ int API_vhci_host_register_callback(const esp_vhci_host_callback_t *callback)
return ESP_OK;
}

int ble_txpwr_set(int power_type, int power_level)
{
return ESP_OK;
}

int ble_txpwr_get(int power_type)
{
return ESP_OK;
}

int bredr_txpwr_set(int min_power_level, int max_power_level)
{
return ESP_OK;
}

int bredr_txpwr_get(int *min_power_level, int *max_power_level)
{
return ESP_OK;
}

void bredr_sco_datapath_set(uint8_t data_path)
{
// No-op
}

void btdm_controller_scan_duplicate_list_clear(void)
{
// No-op
}

void coex_pti_v2(void)
{
// No-op
Expand Down

0 comments on commit 5a10d43

Please sign in to comment.