aboutsummaryrefslogtreecommitdiff
path: root/software/main/config.h
blob: fe5c896e7d8761e18de743f843957db61915c1eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * config.h
 *
 *  Created on: 26.02.2022
 *      Author: steffen
 */

#ifndef MAIN_CONFIG_H_
#define MAIN_CONFIG_H_
#include "main.h"
#include "HMI.h"

extern const char *TAG;
extern HMI* LCD;

static char netip[16];
static char netma[16];
static char netgw[16];
static char srvip[16];
static char dbnam[16];
static int srvpo;
static int boxid;
static int subbx;

int EditConfig();
int HandleEdit(void);
int ReadConfig();
int SaveConfig(void);
int WriteConfig(char *buff);
void WriteVals(char *name, char *strvals);


#endif /* MAIN_CONFIG_H_ */