![]() |
nRF Connect SDK API 3.3.99
|
| int srv_store_codec_cap_set | ( | struct bt_conn const *const | conn, |
| enum bt_audio_dir | dir, | ||
| struct bt_audio_codec_cap const *const | codec ) |
#include <applications/nrf_audio/src/bluetooth/bt_stream/unicast/server_store.h>
Store the codec capabilities for a given server based on conn.
| [in] | conn | Pointer to the connection. |
| [in] | dir | Direction of the capability. |
| [out] | codec | Codec capability to store. |
| 0 | Success. |
| -EINVAL | Illegal argument(s) |
| -ENOMEM | Out of memory. |
| -ENOTCONN | Server conn is NULL. |