![]() |
nRF Connect SDK API 3.3.99
|
| int srv_store_foreach_server | ( | srv_store_foreach_func_t | func, |
| void * | user_data ) |
#include <applications/nrf_audio/src/bluetooth/bt_stream/unicast/server_store.h>
Iterate through all stored servers and call the given function for each.
| [in] | func | Function to call for each server. |
| [in] | user_data | User data to pass to the function. |
| 0 | Success. |
| -EINVAL | Function pointer is NULL. |
| -ECANCELED | The iteration was stopped by the callback function. |