I've seen a lot of demo projects that have DHCP client implemented. But I couldn't find answers to following questions :
- is DCHP operation only on boot enought for system to be robust to various situations (reconnecting cable, lease timeout, IP gateway failure/restart, ...) ?
- is there any example for this or anyone is willing to share code ?
I'm not sure if I get it right, but after successful DHCP, connection should be checked. Probably also when lease expires, it should be queried again, is it ?
So I'm thinking to have separate task only for this matter... Do I get this right or wrong ?
Thanks in advance,