Hi, first post here and I couldn't find anything using a quick search on the subject relating to this question.
My problem is with the 2 hour lease currently configured in your DHCP code.
Is there a way of extending the lease time to 5 hours, and if there is, how please?
Appreciate any help,
DHCP lease configuration
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: DHCP lease configuration
Do you mean in AP mode or in STA mode?
Re: DHCP lease configuration
Sorry should have said, AP mode.
Basically software running on the device doesn't like the drop at 2 hours.
Basically software running on the device doesn't like the drop at 2 hours.
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: DHCP lease configuration
I think calling tcpip_adapter_dhcps_option with opt_id IP_ADDRESS_LEASE_TIME and opt_val (a pointer to an integer containing) the lease time in minutes should do the trick.
Re: DHCP lease configuration
Sorry for the delay, but thank you for the information and I shall pass on to the developer and see what they come back with.
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], CityHunter71, megaTheBIKE and 112 guests