Safe Sprinkler
Master/slave irrigation system (ESP-NOW + LoRaWAN)
Loading...
Searching...
No Matches
config_serializer.h
Go to the documentation of this file.
1#ifndef CONFIG_SERIALIZER_H
2#define CONFIG_SERIALIZER_H
3
4#include "esp_log.h"
5#include "general/node_cfg.h"
7#include "nvs.h"
8#include "nvs_flash.h"
9#include "ttn_credentials.h"
10
11#include <inttypes.h>
12
21esp_err_t load_config(void);
22
30esp_err_t save_config(void);
31
32#endif // CONFIG_SERIALIZER_H
int save_config(void)
Save master configuration to NVS.
int load_config(void)
Load master configuration from NVS.