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

◆ ncm_net_core_event_handler()

void ncm_net_core_event_handler ( enum ncm_event_type event,
uint32_t reset_reas )
extern

#include <include/net_core_monitor.h>

Event handler that is called by the Network core monitor library when an event occurs.

Note
This function should be defined by the application. Otherwise, __weak definition will be called and it prints information about the event.
Parameters
[out]eventEvent occurring.
[out]reset_reasReason for network core reset. When the NCM_EVT_NET_CORE_RESET event was triggered the variable is set. This value is rewritten from the network core's RESET.RESETREAS register.