nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ srv_store_all_ep_state_count()

int srv_store_all_ep_state_count ( enum bt_bap_ep_state state,
enum bt_audio_dir dir )

#include <applications/nrf_audio/src/bluetooth/bt_stream/unicast/server_store.h>

Get the number of endpoints in a given state across all stored servers.

Note
srv_store_lock() must be called before accessing this function.
Parameters
[in]stateState to search for.
[in]dirDirection to filter on.
Returns
Number of endpoints in the given state and direction.