AnsweredAssumed Answered

Robust implementation of MQX dhcp client (lease renewal) ?

Question asked by robroz on Apr 12, 2013
Latest reply on Mar 3, 2015 by thiagow



I've seen a lot of demo projects that have DHCP client implemented. But I couldn't find answers to following questions :

  1. is DCHP operation only on boot enought for system to be robust to various situations (reconnecting cable, lease timeout, IP gateway failure/restart, ...) ?
  2. 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,