1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

Add capability to have light static DHCP lease (#5594)

* Add capability to have light static DHCP lease

* added ESP8266WiFi StaticLease sample

* Update StaticLease to IPv4
This commit is contained in:
SmartBlug
2019-01-25 03:25:04 +01:00
committed by Earle F. Philhower, III
parent ab9d4ad57b
commit 5e4c2e9750
3 changed files with 98 additions and 0 deletions

View File

@ -386,6 +386,8 @@ uint32 wifi_softap_get_dhcps_lease_time(void);
bool wifi_softap_set_dhcps_lease_time(uint32 minute);
bool wifi_softap_reset_dhcps_lease_time(void);
bool wifi_softap_add_dhcps_lease(uint8 *macaddr); // add static lease on the list, this will be the next available @
enum dhcp_status wifi_softap_dhcps_status(void);
bool wifi_softap_set_dhcps_offer_option(uint8 level, void* optarg);