SPP core initialisation and port registry implementation. More...
#include "spp/core/core.h"#include "spp/core/returnTypes.h"#include "spp/core/commonbit.h"#include "spp/core/version.h"#include "spp/core/packet.h"#include "spp/core/types.h"#include "spp/services/databank/databank.h"#include "spp/core/pubsub/pubsub.h"#include "spp/services/log/log.h"Go to the source code of this file.
Functions | |
| static void | coreLogOutput (const char *p_tag, SPP_LogLevel_t level, const char *p_message) |
| SPP_RetVal_t | SPP_CORE_init () |
| Initializes the SPP core services. | |
Variables | |
| static spp_uint16_t | s_logSeq = 0U |
| static spp_bool_t | s_logBusy = false |
SPP core initialisation and port registry implementation.
Definition in file core.c.
|
static |
References coreLogOutput().
Referenced by coreLogOutput().
| SPP_RetVal_t SPP_CORE_init | ( | void | ) |
Initializes the SPP core services.
Initializes logging, the databank and PUBSUB, including registered producers and consumers.
Must be called after HAL initialization and module registration.
Definition at line 34 of file core.c.
References K_SPP_ERROR_ALREADY_INITIALIZED, K_SPP_ERROR_NULL_POINTER, K_SPP_OK, K_SPP_VERSION_MAJOR, K_SPP_VERSION_MINOR, K_SPP_VERSION_PATCH, SPP_CORE_COMMONBIT_getBit(), SPP_CORE_init(), SPP_LOGI, SPP_SERVICES_DATABANK_init(), SPP_SERVICES_LOG_init(), and SPP_SERVICES_PUBSUB_init().
Referenced by guard_startInitializationOfModules(), and SPP_CORE_init().
|
static |
|
static |