From 9223cbda73eeae66f0fdaf9344eca1fdbea75f4c Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 27 Nov 2020 13:33:41 +0100 Subject: [PATCH] configuration --- cube/User/Src/mbusComm.c | 5 ----- cube/User/Src/mqttComm.c | 6 ------ cube/User/Src/wizHelper.c | 7 ------- 3 files changed, 18 deletions(-) diff --git a/cube/User/Src/mbusComm.c b/cube/User/Src/mbusComm.c index a7541ac..c18945f 100644 --- a/cube/User/Src/mbusComm.c +++ b/cube/User/Src/mbusComm.c @@ -24,11 +24,6 @@ static t_configBlock *config; -/* -static const char MBUS_TOPIC[] = "IoT/MBGW3/Measurement"; -*/ - - static const uint8_t MBUS_QUERY_CMD = 0x5b; // Delay between end of last bit of sent request telegram diff --git a/cube/User/Src/mqttComm.c b/cube/User/Src/mqttComm.c index 4078d1a..846bbc4 100644 --- a/cube/User/Src/mqttComm.c +++ b/cube/User/Src/mqttComm.c @@ -28,12 +28,6 @@ mqttClient_t mqttClient; uint8_t brokerAddress[4]; uint16_t brokerPort = 1883; -/* -const static char WatchdogTopic[] = "IoT/Watchdog"; -const static char StartupTopic[] = "IoT/MBGW3/Startup"; -const static char StatusTopic[] = "IoT/MBGW3/Status"; -*/ - static uint32_t watchdogCounter = 0; void watchdogHandler(void *handle) { diff --git a/cube/User/Src/wizHelper.c b/cube/User/Src/wizHelper.c index 5627eb4..65a391f 100644 --- a/cube/User/Src/wizHelper.c +++ b/cube/User/Src/wizHelper.c @@ -18,15 +18,8 @@ static t_configBlock *config; -/* -wiz_NetInfo netInfo = { - .mac = { 0x00, 0xA0, 0x57, 0x05, 0x3E, 0x0D }, - .dhcp = NETINFO_DHCP -}; -*/ wiz_NetInfo netInfo; - #define DHCP_BUFFER_SIZE 2048 static uint8_t dhcpBuffer[DHCP_BUFFER_SIZE];