Safe Sprinkler
Master/slave irrigation system (ESP-NOW + LoRaWAN)
Loading...
Searching...
No Matches
include
master
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
"
6
#include "
master/main_master.h
"
7
#include "nvs.h"
8
#include "nvs_flash.h"
9
#include "
ttn_credentials.h
"
10
11
#include <inttypes.h>
12
21
esp_err_t
load_config
(
void
);
22
30
esp_err_t
save_config
(
void
);
31
32
#endif
// CONFIG_SERIALIZER_H
save_config
int save_config(void)
Save master configuration to NVS.
load_config
int load_config(void)
Load master configuration from NVS.
main_master.h
node_cfg.h
ttn_credentials.h
Generated by
1.9.8