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

◆ module_get_next_msg()

int module_get_next_msg ( struct module_data * module,
void * msg )

#include <applications/asset_tracker_v2/src/modules/modules_common.h>

Get the next message in a module's queue.

Parameters
[in]modulePointer to a structure containing module metadata.
[out]msgPointer to a message buffer that the output will be written to.
Returns
0 if successful, otherwise a negative error code.