37 #ifndef NIMBLE_CONTROLLER_PRIO
38 #define NIMBLE_CONTROLLER_PRIO (0)
44 #ifndef NIMBLE_CONTROLLER_STACKSIZE
45 #define NIMBLE_CONTROLLER_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
51 #ifndef NIMBLE_HOST_PRIO
52 #if IS_USED(MODULE_NIMBLE_NETIF)
57 #define NIMBLE_HOST_PRIO (NIMBLE_CONTROLLER_PRIO + 1)
59 #define NIMBLE_HOST_PRIO (THREAD_PRIORITY_MAIN - 2)
66 #ifndef NIMBLE_HOST_STACKSIZE
67 #define NIMBLE_HOST_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
76 #if IS_USED(MODULE_NIMBLE_PHY_2MBIT)
79 #if IS_USED(MODULE_NIMBLE_PHY_CODED)
114 #if MYNEWT_VAL_BLE_EXT_ADV
115 int nimble_riot_get_phy_hci(uint8_t mode);
bool nimble_port_initialized
Indicates whether Setup NimBLE's controller has been initialized.
uint8_t nimble_riot_own_addr_type
Export our own address type for later usage.
nimble_phy_t
BLE PHY modes.
void nimble_riot_init(void)
Setup and run NimBLE's controller and host threads.
@ NIMBLE_PHY_1M
legacy 1Mbit PHY mode (always supported)
@ NIMBLE_PHY_INVALID
PHY mode invalid.
Common macros and compiler attributes/pragmas configuration.