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

◆ srv_store_location_set()

int srv_store_location_set ( struct bt_conn const *const conn,
enum bt_audio_dir dir,
enum bt_audio_location loc )

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

Set the valid locations of a unicast server.

Note
srv_store_lock() must be called before accessing this function.
Parameters
[in]connPointer to the connection.
[in]dirDirection to store.
[in]locLocation to store.
Return values
0Success.
-ENOENTServer not found.
-ENOTCONNServer conn is NULL.