dhcp debugging

This commit is contained in:
Wolfgang Hottgenroth 2020-11-09 14:46:09 +01:00
parent 7f79f53691
commit 7e9cc0051d
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -120,8 +120,13 @@ int wizInit() {
wizchip_setnetinfo(&netInfo);
coloredMsg(LOG_RED, "wizI, netinfo set to Ethernet module");
schAdd(wizDHCPHandler, NULL, 0, 100);
coloredMsg(LOG_RED, "wizI, DHCP handler scheduled");
uint8_t buf[6];
res = ctlwizchip(CW_GET_ID, (void*) buf);
coloredMsg(LOG_RED, "wizI, CW_GET_ID: %d %02x %02x %02x %02x %02x %02x", res, buf[0], buf[1], buf[2], buf[3], buf[4], buf[5]);
//schAdd(wizDHCPHandler, NULL, 0, 100);
//coloredMsg(LOG_RED, "wizI, DHCP handler scheduled");
return 0;
}