nRF Connect SDK API 2.8.99
|
bool le_audio_ep_state_check | ( | struct bt_bap_ep * | ep, |
enum bt_bap_ep_state | state ) |
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. |