configuration
This commit is contained in:
@ -16,7 +16,8 @@ t_configBlock defaultConfigBlock = {
|
||||
.statusTopic = "IoT/MBGW3/Status",
|
||||
.mbusDataTopic = "IoT/MBGW3/Measurement",
|
||||
.syslogServerName = "syslogserver",
|
||||
.filler = { 0, 0 }
|
||||
.numOfDeviceBlocks = 0,
|
||||
.filler = { 0 }
|
||||
};
|
||||
|
||||
|
||||
@ -58,4 +59,5 @@ void configInit() {
|
||||
coloredMsg(LOG_BLUE, false, "cfg ci statusTopic: %s", mainConfigBlock.statusTopic);
|
||||
coloredMsg(LOG_BLUE, false, "cfg ci mbusDataTopic: %s", mainConfigBlock.mbusDataTopic);
|
||||
coloredMsg(LOG_BLUE, false, "cfg ci syslog server: %s", mainConfigBlock.syslogServerName);
|
||||
coloredMsg(LOG_BLUE, false, "cfg ci device block cnt: %d", mainConfigBlock.numOfDeviceBlocks);
|
||||
}
|
Reference in New Issue
Block a user