configuration

This commit is contained in:
2020-11-27 13:27:24 +01:00
parent 3c25a7d9e1
commit 0b1c6217c4
6 changed files with 68 additions and 16 deletions

View File

@ -8,12 +8,15 @@
typedef struct __attribute__((__packed__)) s_configBlock {
char deviceName[16];
uint8_t macAddress[6];
char brokerName[64];
char watchdogTopic[64];
char startupTopic[64];
char statusTopic[64];
char mbusDataTopic[64];
char syslogServerName[64];
} t_configBlock;
void configInit();
t_configBlock* getConfig();
#endif /* _CONFIG_H_ */