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

◆ srv_store_avail_context_set()

int srv_store_avail_context_set ( struct bt_conn * conn,
enum bt_audio_context snk_ctx,
enum bt_audio_context src_ctx )

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

Store the available audio context for a server based on conn.

Note
srv_store_lock() must be called before accessing this function.
Parameters
[in]connPointer to the connection.
[in]snk_ctxSink context.
[out]src_ctxSource context.
Return values
0Success.
-EINVALIllegal argument(s)
-ENOENTServer not found.