configuration
This commit is contained in:
parent
975ecf40f9
commit
9223cbda73
@ -24,11 +24,6 @@
|
|||||||
|
|
||||||
static t_configBlock *config;
|
static t_configBlock *config;
|
||||||
|
|
||||||
/*
|
|
||||||
static const char MBUS_TOPIC[] = "IoT/MBGW3/Measurement";
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
static const uint8_t MBUS_QUERY_CMD = 0x5b;
|
static const uint8_t MBUS_QUERY_CMD = 0x5b;
|
||||||
|
|
||||||
// Delay between end of last bit of sent request telegram
|
// Delay between end of last bit of sent request telegram
|
||||||
|
@ -28,12 +28,6 @@ mqttClient_t mqttClient;
|
|||||||
uint8_t brokerAddress[4];
|
uint8_t brokerAddress[4];
|
||||||
uint16_t brokerPort = 1883;
|
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;
|
static uint32_t watchdogCounter = 0;
|
||||||
|
|
||||||
void watchdogHandler(void *handle) {
|
void watchdogHandler(void *handle) {
|
||||||
|
@ -18,15 +18,8 @@
|
|||||||
|
|
||||||
static t_configBlock *config;
|
static t_configBlock *config;
|
||||||
|
|
||||||
/*
|
|
||||||
wiz_NetInfo netInfo = {
|
|
||||||
.mac = { 0x00, 0xA0, 0x57, 0x05, 0x3E, 0x0D },
|
|
||||||
.dhcp = NETINFO_DHCP
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
wiz_NetInfo netInfo;
|
wiz_NetInfo netInfo;
|
||||||
|
|
||||||
|
|
||||||
#define DHCP_BUFFER_SIZE 2048
|
#define DHCP_BUFFER_SIZE 2048
|
||||||
static uint8_t dhcpBuffer[DHCP_BUFFER_SIZE];
|
static uint8_t dhcpBuffer[DHCP_BUFFER_SIZE];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user