nRF Connect SDK API 0.1.0
|
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. |