2018-01-24 12:48:12 +01:00
|
|
|
typedef struct {
|
|
|
|
#for $configItem in $configItems
|
|
|
|
#if $configItem.type == 'C'
|
|
|
|
char ${configItem.key}[$configItem.length];
|
|
|
|
#else if $configItem.type == 'I'
|
|
|
|
uint32_t $configItem.key;
|
|
|
|
#end if
|
|
|
|
#end for
|
|
|
|
} tConfigBlock;
|
|
|
|
|
|
|
|
extern const uint32_t MAGIC;
|
|
|
|
extern tConfigBlock configBlock;
|
2018-02-02 16:21:52 +01:00
|
|
|
extern const char* CONFIG_SSID;
|
2018-01-24 12:48:12 +01:00
|
|
|
|
|
|
|
void configServeIndex();
|
|
|
|
void configServeGetConfiguration();
|
|
|
|
void showConfiguration();
|