nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ nrf_sdh_observer_ready()

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.

Parameters
observerThe observer to mark as ready.
Return values
0The observer is marked as ready.
-EFAULTIf observer is NULL.
-EPERMIf called when no request to change the SoftDevice state was made.