NimBLE: Use dynamic buffers instead of static memory.

This commit is contained in:
Roshan Bangar 2023-02-09 11:43:22 +05:30 committed by BOT
parent ba1119a725
commit baf4240776
2 changed files with 3 additions and 13 deletions

View File

@ -227,20 +227,10 @@ static const esp_vhci_host_callback_t vhci_host_cb = {
.notify_host_recv = host_rcv_pkt,
};
static void ble_buf_free(void)
{
os_msys_buf_free();
}
static esp_err_t ble_buf_alloc(void)
{
if (os_msys_buf_alloc()) {
return ESP_ERR_NO_MEM;
}
return ESP_OK;
}
extern void ble_transport_init(void);
extern esp_err_t ble_buf_alloc(void);
extern void ble_buf_free(void);
esp_err_t esp_nimble_hci_init(void)
{
esp_err_t ret;

@ -1 +1 @@
Subproject commit 86007550e226fd810135558c2aa08acbdc602e95
Subproject commit 46591d402d5a321707caa40d9b033a7109838283