Embassy
nrf-softdevice-s132

Crates

git

Versions

default

Flavors

pub unsafe fn sd_radio_session_close() -> u32
Expand description

@brief Closes a session for radio timeslot requests.

@note Any current radio timeslot will be finished before the session is closed. @note If a radio timeslot is scheduled when the session is closed, it will be canceled. @note The application cannot consider the session closed until the @ref NRF_EVT_RADIO_SESSION_CLOSED event is received.

@retval ::NRF_ERROR_FORBIDDEN If session not opened. @retval ::NRF_ERROR_BUSY If session is currently being closed. @retval ::NRF_SUCCESS Otherwise.