nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ le_audio_ep_state_check()

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.

Parameters
[in]epThe endpoint to check.
[in]stateThe state to check for.
Return values
trueThe endpoint is in the given state.
falseOtherwise.