Appiko
sensepi_store_config.h
1 /*
2  * sensepi_store_config.h : Support file to store configs into NVMC memory
3  * Copyright (C) 2019 Appiko
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <https://www.gnu.org/licenses/>.
17  */
18 
30 #ifndef SENSEPI_STORE_CONFIG_H
31 #define SENSEPI_STORE_CONFIG_H
32 
33 #include "sensepi_ble.h"
34 
42 
51 void sensepi_store_config_write (sensepi_config_t * latest_config);
52 
63 sensepi_config_t * sensepi_store_config_get_last_config (void);
64 
72 #endif /* SENSEPI_STORE_CONFIG_H */
73 
bool sensepi_store_config_is_memory_empty(void)
void sensepi_store_config_check_fw_ver()
Function to check the major number of firmware if latest major number \ firmware version is greater t...
sensepi_config_t * sensepi_store_config_get_last_config(void)
void sensepi_store_config_write(sensepi_config_t *latest_config)
Function to write the sensepi_config_t at address location received from get_next_location().