nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ ble_conn_state_for_each_set_user_flag()

uint32_t ble_conn_state_for_each_set_user_flag ( uint16_t flag_index,
ble_conn_state_user_function_t user_function,
void * ctx )

#include <ble_conn_state.h>

Run a function for each connection that has a user flag set.

Parameters
[in]flag_indexWhich flag to check.
[in]user_functionThe function to run when a flag is set.
[in]ctxArbitrary context to be passed to user_function.
Returns
The number of times user_function was run.