#include <applications/nrf_audio/src/bluetooth/bt_stream/unicast/server_store.h>
Check which codec capabilities are valid.
- Note
- Will go through each of the codec_caps for a given direction for a given server.
-
srv_store_lock() must be called before accessing this function.
- Parameters
-
| [in] | conn | Pointer to the connection. |
| [in] | dir | Direction to check for (sink or source). |
| [out] | valid_codec_caps | Bit field to be populated with valid codec capabilities. |
| [in] | client_supp_cfgs | (Reserved) Supported configurations of the unicast client. |
| [in] | num_client_supp_cfgs | (Reserved) Number of supported configurations in the array. |
- Return values
-
| 0 | Success. |
| -ENOENT | Server not found. |
| -ENOTCONN | Server conn is NULL. |