23#include "nimble/nimble/include/nimble/nimble_npl.h"
28#define NIMBLE_CORE (CONFIG_BT_NIMBLE_PINNED_TO_CORE < portNUM_PROCESSORS ? CONFIG_BT_NIMBLE_PINNED_TO_CORE : tskNO_AFFINITY)
29#define NIMBLE_HS_STACK_SIZE CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE
31#include "../syscfg/syscfg.h"
32#define NIMBLE_HS_STACK_SIZE (CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE / 4)
35#if SOC_ESP_NIMBLE_CONTROLLER && CONFIG_BT_CONTROLLER_ENABLED
36#define NIMBLE_LL_STACK_SIZE CONFIG_BT_LE_CONTROLLER_TASK_STACK_SIZE
50esp_err_t nimble_port_init(
void);
58esp_err_t nimble_port_deinit(
void);
60void nimble_port_run(
void);
61int nimble_port_stop(
void);
69esp_err_t esp_nimble_init(
void);
76esp_err_t esp_nimble_deinit(
void);
80void nimble_port_init(
void);
82void nimble_port_run(
void);
84int nimble_port_stop(
void);
86void nimble_port_deinit(
void);
90struct ble_npl_eventq *nimble_port_get_dflt_eventq(
void);
92#if NIMBLE_CFG_CONTROLLER
93void nimble_port_ll_task_func(
void *arg);