Solaris Software
Loading...
Searching...
No Matches
core.h File Reference

SPP core initialisation and port registration API. More...

Include dependency graph for core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SPP_RetVal_t SPP_CORE_init (void)
 Initializes the SPP core services.

Detailed Description

SPP core initialisation and port registration API.

Definition in file core.h.

Function Documentation

◆ SPP_CORE_init()

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.

Returns
K_SPP_OK on success, error code otherwise.

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().

Here is the call graph for this function:
Here is the caller graph for this function: