Skip to content

Commit 5a10d43

Browse files
committed
ble: stubs: add missing stubs for BLE calls
Add missing BLE TX power control functions into stubs list. Signed-off-by: Sylvio Alves <[email protected]>
1 parent 05b1eb3 commit 5a10d43

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

zephyr/port/bluetooth/bt_stubs.c

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,36 @@ int API_vhci_host_register_callback(const esp_vhci_host_callback_t *callback)
134134
return ESP_OK;
135135
}
136136

137+
int ble_txpwr_set(int power_type, int power_level)
138+
{
139+
return ESP_OK;
140+
}
141+
142+
int ble_txpwr_get(int power_type)
143+
{
144+
return ESP_OK;
145+
}
146+
147+
int bredr_txpwr_set(int min_power_level, int max_power_level)
148+
{
149+
return ESP_OK;
150+
}
151+
152+
int bredr_txpwr_get(int *min_power_level, int *max_power_level)
153+
{
154+
return ESP_OK;
155+
}
156+
157+
void bredr_sco_datapath_set(uint8_t data_path)
158+
{
159+
// No-op
160+
}
161+
162+
void btdm_controller_scan_duplicate_list_clear(void)
163+
{
164+
// No-op
165+
}
166+
137167
void coex_pti_v2(void)
138168
{
139169
// No-op

0 commit comments

Comments
 (0)