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

◆ srv_store_from_addr_get()

int srv_store_from_addr_get ( bt_addr_le_t const *const addr,
struct server_store ** server )

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

Get a server from the address.

Note
srv_store_lock() must be called before accessing this function.
Parameters
[in]addrPointer to the address of the server.
[out]serverPointer to the server. NULL if not found.
Return values
0Success.
-ENOENTServer not found in storage.