start mqtt stuff
This commit is contained in:
@ -20,7 +20,7 @@ wiz_NetInfo netInfo = {
|
||||
#define DHCP_BUFFER_SIZE 2048
|
||||
static uint8_t dhcpBuffer[DHCP_BUFFER_SIZE];
|
||||
|
||||
const uint8_t DHCP_SOCK = 0;
|
||||
extern const uint8_t DHCP_SOCK;
|
||||
|
||||
static bool networkAvailable = false;
|
||||
|
||||
@ -75,7 +75,7 @@ static void wizDHCPAssign() {
|
||||
coloredMsg(LOG_GREEN, "wizda, DNS: %d.%d.%d.%d", netInfo.dns[0], netInfo.dns[1], netInfo.dns[2], netInfo.dns[3]);
|
||||
|
||||
wizchip_setnetinfo(&netInfo);
|
||||
coloredMsg(LOG_RED, "wizda, set netinfo again");
|
||||
coloredMsg(LOG_GREEN, "wizda, set netinfo again");
|
||||
|
||||
networkAvailable = true;
|
||||
coloredMsg(LOG_GREEN, "wizda, network is available");
|
||||
|
Reference in New Issue
Block a user