![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| int nrf_sdh_observer_ready | ( | struct nrf_sdh_state_evt_observer * | observer | ) |
#include <nrf_sdh.h>
Mark an observer ready for a SoftDevice state change.
This function will dispatch an event to all remaining observers that were busy, if any. If the caller was the last observer to become ready, this function will change the SoftDevice state.
| observer | The observer to mark as ready. |
| 0 | The observer is marked as ready. |
| -EFAULT | If observer is NULL. |
| -EPERM | If called when no request to change the SoftDevice state was made. |