Wirepas SDK
Main Page
Related Pages
Data Structures
Files
Example applications
File List
Globals
app_setup.h
Go to the documentation of this file.
1
/* Copyright 2025 Wirepas Ltd. All Rights Reserved.
2
*
3
* See file LICENSE.txt for full license details.
4
*
5
*/
6
#ifndef APP_SETUP_H
7
#define APP_SETUP_H
8
15
#include <stdint.h>
16
20
typedef
enum
21
{
25
APP_SETUP_RES_OK
,
26
30
APP_SETUP_RES_NO_DATA
,
31
35
APP_SETUP_RES_ERROR
,
36
40
APP_SETUP_RES_NO_APP_PERSISTENT
,
41
45
APP_SETUP_RES_INVALID_DATA
,
46
50
APP_SETUP_RES_INVALID_VERSION
,
51
55
APP_SETUP_RES_ERASE_ERROR
,
56
57
}
app_setup_res_e
;
58
64
app_setup_res_e
App_Setup
(
void
);
65
66
#endif // APP_SETUP_H
APP_SETUP_RES_INVALID_DATA
@ APP_SETUP_RES_INVALID_DATA
Definition:
app_setup.h:45
APP_SETUP_RES_INVALID_VERSION
@ APP_SETUP_RES_INVALID_VERSION
Definition:
app_setup.h:50
App_Setup
app_setup_res_e App_Setup(void)
Setup configuration from application persistent memory.
APP_SETUP_RES_OK
@ APP_SETUP_RES_OK
Definition:
app_setup.h:25
APP_SETUP_RES_NO_APP_PERSISTENT
@ APP_SETUP_RES_NO_APP_PERSISTENT
Definition:
app_setup.h:40
APP_SETUP_RES_ERASE_ERROR
@ APP_SETUP_RES_ERASE_ERROR
Definition:
app_setup.h:55
APP_SETUP_RES_NO_DATA
@ APP_SETUP_RES_NO_DATA
Definition:
app_setup.h:30
APP_SETUP_RES_ERROR
@ APP_SETUP_RES_ERROR
Definition:
app_setup.h:35
app_setup_res_e
app_setup_res_e
Application setup library.
Definition:
app_setup.h:20