Hi:
I use ncs v2.2.0 and asset_tracker_v2 example.
\asset_tracker_v2\src\modules\led_module.c
learning:
static bool app_event_handler(const struct app_event_header *aeh)
{
if (is_led_state_event(aeh)) {
return handle_led_state_event(cast_led_state_event(aeh));
}
/* If event is unhandled, unsubscribe. */
__ASSERT_NO_MSG(false);
return false;
}
I can't find the source files of is_led_state_event and cast_led_state_event.