Sometimes Sta interface is up but don't get ip ,dhcp state is DHCP_SELECTING ,normal is DHCP_BOUND,how to get ip again using lwip?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
chch_2120956
Level 3
Level 3
First like received First like given

power on sta is up and get ip work normal,after a while sometimes dhcp state change to DHCP_SELECTING,ip is 0.0.0.0 .how to get ip again call  dhcp_start( &IP_HANDLE(interface) ) ?

0 Likes
2 Replies
Anonymous
Not applicable

What is the period of time before the DHCP state is changed?

Do you know the DHCP lease time from the access point?

A sniffer trace of this event would help.

0 Likes