Nimble: Migration changes for nimble-1.5

This commit is contained in:
Roshan Bangar
2024-02-20 11:18:09 +05:30
committed by Abhinav Kudnar
parent f123585faf
commit cd5a88be94
23 changed files with 467 additions and 47 deletions
+2 -4
View File
@@ -39,7 +39,6 @@
#endif
#include "nimble/ble_hci_trans.h"
#include "esp_intr_alloc.h"
#include "freertos/FreeRTOS.h"
@@ -105,9 +104,8 @@ esp_err_t esp_nimble_init(void)
/* Initialize the global memory pool */
os_mempool_module_init();
os_msys_init();
/* Initialize transport */
ble_transport_init();
#endif
#endif
/* Initialize the host */
ble_transport_hs_init();
+2 -2
View File
@@ -45,8 +45,8 @@ static const char *TAG = "Timer";
#define OS_MEM_ALLOC (1)
#if CONFIG_BT_NIMBLE_ENABLED
#define BT_LE_HCI_EVT_HI_BUF_COUNT MYNEWT_VAL(BLE_HCI_EVT_HI_BUF_COUNT)
#define BT_LE_HCI_EVT_LO_BUF_COUNT MYNEWT_VAL(BLE_HCI_EVT_LO_BUF_COUNT)
#define BT_LE_HCI_EVT_HI_BUF_COUNT MYNEWT_VAL(BLE_TRANSPORT_EVT_COUNT)
#define BT_LE_HCI_EVT_LO_BUF_COUNT MYNEWT_VAL(BLE_TRANSPORT_EVT_DISCARDABLE_COUNT)
#define BT_LE_MAX_EXT_ADV_INSTANCES MYNEWT_VAL(BLE_MULTI_ADV_INSTANCES)
#define BT_LE_MAX_CONNECTIONS MYNEWT_VAL(BLE_MAX_CONNECTIONS)
#else