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

◆ srv_store_num_get()

int srv_store_num_get ( void )

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

Get the number of stored servers.

Note
srv_store_lock() must be called before accessing this function.
Do not iterate through the servers, as they may not be stored consecutively in memory. Use the srv_store_foreach_func_t function.
Return values
Numberof servers.
-EINVALNon-consecutive server storage detected.
-ENOENTServer not found in storage.