Apologies for wasting your time with such chillness, but I am getting crazy with my C code.
I am using W5500 with ioLibrary and about SPI interface and where put my code to exchange packets with W5500 is working very well.
Now, I am trying to initialize the W5500 and right after it, start the DHCP function.
My “C language"is limited”…
int8_t ctlwizchip(ctlwizchip_type cwtype, void* arg) what is arg ??? and what kind and how I should fill values on it ?
e.g.: trying CW_INIT_WIZCHIP
void wizchip_setnetinfo(wiz_NetInfo* pnetinfo)
how should I put values on mac ??? or call the function wizchip_setnetinfo ??
I am able to get the MAC address from another memory right now … in other words, I have the values ready, but I don’t know how use it or call the functions with.
the main error that I am getting is
not a variable identifier "wiz_NetInfo"
Sorry guys, I really tried hard solve it instead write here…
Please, any suggestion will be perfect … and if someone want to take a look on my code … just ask me, I send for you.
Thanks a lot.