38 #ifndef NIMBLE_CONTROLLER_PRIO
39 #define NIMBLE_CONTROLLER_PRIO (0)
45 #ifndef NIMBLE_CONTROLLER_STACKSIZE
46 #define NIMBLE_CONTROLLER_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
52 #ifndef NIMBLE_HOST_PRIO
53 #if IS_USED(MODULE_NIMBLE_NETIF)
58 #define NIMBLE_HOST_PRIO (NIMBLE_CONTROLLER_PRIO + 1)
60 #define NIMBLE_HOST_PRIO (THREAD_PRIORITY_MAIN - 2)
67 #ifndef NIMBLE_HOST_STACKSIZE
68 #define NIMBLE_HOST_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
77 #if IS_USED(MODULE_NIMBLE_PHY_2MBIT)
80 #if IS_USED(MODULE_NIMBLE_PHY_CODED)
115 #if MYNEWT_VAL_BLE_EXT_ADV
116 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.