![]() |
nRF Connect SDK API 3.3.99
|
| bool le_audio_ep_state_check | ( | struct bt_bap_ep const *const | ep, |
| enum bt_bap_ep_state | state ) |
#include <applications/nrf_audio/src/bluetooth/bt_stream/le_audio.h>
Check if an endpoint is in the given state. If the endpoint is NULL, it is not in the given state, and this function returns false.
| [in] | ep | The endpoint to check. |
| [in] | state | The state to check for. |
| true | The endpoint is in the given state. |
| false | Otherwise. |