diff options
| author | MDC Service <michael.schmid@mdc-service.de> | 2022-05-26 10:33:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-26 10:33:41 +0200 |
| commit | c4a8a10ba463b77cc4c406d3d1fdd4892977a43f (patch) | |
| tree | 8bfe3ed8db716e01d189f6555350f069209cbfa3 /software/main/config.h | |
| parent | 296e3a36d9616cfa039b768caf29e1a6ea394410 (diff) | |
Add files via upload
Diffstat (limited to 'software/main/config.h')
| -rw-r--r-- | software/main/config.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/software/main/config.h b/software/main/config.h new file mode 100644 index 0000000..40aac0c --- /dev/null +++ b/software/main/config.h @@ -0,0 +1,35 @@ +/* + * config.h + * + * Created on: 26.02.2022 + * Author: steffen + * SPDX-FileCopyrightText: 2022 MDC Service <info@mdc-service.de> + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +#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_ */ |
