2025-11-28 1:05 AM - last edited on 2025-11-28 1:51 AM by mƎALLEm
Hello everyone,
I am trying to get an IP for my controller using the DHCP i can able to detect the Link up and link down but i can't able to get the IP. I had refered the example code for the ethernet(lwip https server netconn rtos) But i can't able to integrate with my main code can someone please help to either identify the issue or help me to integrate the example code with the main file.
Thank you.
Output Of my code
LWIP Stack Initialized
DHCP Started...
DHCP Task Started
Link Task Started
DHCP State Changed: 255 -> 6
DHCP State: UNKNOWN (6)
Ethernet Cable: CONNECTED DHCP Restarted