dhcp debugging
This commit is contained in:
parent
7f79f53691
commit
7e9cc0051d
@ -120,8 +120,13 @@ int wizInit() {
|
|||||||
wizchip_setnetinfo(&netInfo);
|
wizchip_setnetinfo(&netInfo);
|
||||||
coloredMsg(LOG_RED, "wizI, netinfo set to Ethernet module");
|
coloredMsg(LOG_RED, "wizI, netinfo set to Ethernet module");
|
||||||
|
|
||||||
schAdd(wizDHCPHandler, NULL, 0, 100);
|
uint8_t buf[6];
|
||||||
coloredMsg(LOG_RED, "wizI, DHCP handler scheduled");
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user