Loading...
Searching...
No Matches

Basic RIOT integration of NimBLE, including e.g. More...

Detailed Description

Basic RIOT integration of NimBLE, including e.g.

stack configuration and (auto)initialization code

Files

file  nimble_riot.h
 RIOT specific glue functions for integrating NimBLE.
 

Macros

#define NIMBLE_CONTROLLER_PRIO   (0)
 Priority used for NimBLE's controller thread.
 
#define NIMBLE_CONTROLLER_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)
 Stacksize used for NimBLE's controller thread.
 
#define NIMBLE_HOST_PRIO   (THREAD_PRIORITY_MAIN - 2)
 Priority used for NimBLE's host thread.
 
#define NIMBLE_HOST_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)
 Stacksize used for NimBLE's host thread.
 

Enumerations

enum  nimble_phy_t { NIMBLE_PHY_INVALID , NIMBLE_PHY_1M }
 BLE PHY modes. More...
 

Functions

void nimble_riot_init (void)
 Setup and run NimBLE's controller and host threads.
 

Variables

uint8_t nimble_riot_own_addr_type
 Export our own address type for later usage.
 

Macro Definition Documentation

◆ NIMBLE_CONTROLLER_PRIO

#define NIMBLE_CONTROLLER_PRIO   (0)

Priority used for NimBLE's controller thread.

This should be as high as possible.

Definition at line 38 of file nimble_riot.h.

◆ NIMBLE_CONTROLLER_STACKSIZE

#define NIMBLE_CONTROLLER_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)

Stacksize used for NimBLE's controller thread.

Definition at line 45 of file nimble_riot.h.

◆ NIMBLE_HOST_PRIO

#define NIMBLE_HOST_PRIO   (THREAD_PRIORITY_MAIN - 2)

Priority used for NimBLE's host thread.

Definition at line 59 of file nimble_riot.h.

◆ NIMBLE_HOST_STACKSIZE

#define NIMBLE_HOST_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)

Stacksize used for NimBLE's host thread.

Definition at line 69 of file nimble_riot.h.

Enumeration Type Documentation

◆ nimble_phy_t

BLE PHY modes.

Enumerator
NIMBLE_PHY_INVALID 

PHY mode invalid.

NIMBLE_PHY_1M 

legacy 1Mbit PHY mode (always supported)

Definition at line 75 of file nimble_riot.h.