nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches
SoftDevice event observer priority levels

Macros

#define H_NRF_SDH_OBSERVER_PRIO_HIGHEST_HIGHEST   1
 
#define H_NRF_SDH_OBSERVER_PRIO_HIGH_HIGH   1
 
#define H_NRF_SDH_OBSERVER_PRIO_USER_USER   1
 
#define H_NRF_SDH_OBSERVER_PRIO_USER_LOW_USER_LOW   1
 
#define H_NRF_SDH_OBSERVER_PRIO_LOWEST_LOWEST   1
 
#define PRIO_LEVEL_IS_VALID(level)
 Utility macro to check for observer priority validity.
 
#define PRIO_LEVEL_ORD(level)
 Utility macro to convert a priority token to its numerical value.
 

Detailed Description

A SoftDevice observer has a defined priority, which determines the order with which the observer receives relevant events compared to other observers.

Five priority levels are defined: highest, high, user, user low, lowest. These can be selected using the tokens HIGHEST, HIGH, USER, USER_LOW, and LOWEST respectively.

In general, an observer priority must be defined in such a way that an observer has a lower priority than that of other observers (libraries, etc.) it depends on.