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

◆ APP_EVENT_ASSERT_ID

#define APP_EVENT_ASSERT_ID (   id)     __ASSERT_NO_MSG((id >= _event_type_list_start) && (id < _event_type_list_end))

#include <include/app_event_manager.h>

Verify if an event ID is valid.

The pointer to an event type structure is used as its ID. This macro validates that the provided pointer is within the range where event type structures are defined.

Parameters
idID.