Modules common API
The Modules common API provides the functionality to administer mechanisms in the application architecture, and consist of functions that are shared between modules. The API supports the following functionalities:
Registering and starting a module using
module_start()
.Deregistering a module using
modules_shutdown_register()
.Enqueueing and dequeueing message queue items using
module_get_next_msg()
andmodule_enqueue_msg()
.Macros used to handle Application Event Manager events sent between modules.
API documentation
Header file:
asset_tracker_v2/src/modules/modules_common.h
Source files:
asset_tracker_v2/src/modules_common.c