|
Modbus Vault v1.0
|
System initialization header. More...
#include "esp_err.h"Go to the source code of this file.
Enumerations | |
| enum | init_step_t { INIT_STEP_DEFAULT_CONFIG , INIT_STEP_NVS , INIT_STEP_CONFIG , INIT_STEP_TELE_PLIN , INIT_STEP_TELE_SERV , INIT_STEP_LOG_SERV , INIT_STEP_WIFI , INIT_STEP_EVENT_BUS , INIT_STEP_METRICS , INIT_STEP_SLAB , INIT_STEP_COMPLETE } |
| Initialization step enum. More... | |
Functions | |
| esp_err_t | system_init (void) |
| Initialize the system. | |
| void | system_deinit (void) |
| Deinitialize the system. | |
System initialization header.
Contains system initialization definitions for the project
| enum init_step_t |
Initialization step enum.
| void system_deinit | ( | void | ) |
Deinitialize the system.
Deinitialize the system by calling all deinit functions for all previously initialized or not components of the system
| esp_err_t system_init | ( | void | ) |
Initialize the system.
Initialize the system by following a preset order as defined inside the function state machine. If not succeeded calls deinit and returns error code
| ESP_OK | on Initialize success |
| any | Any error from down layers propagates upward |