- Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Description
How does DHCP server set IP address of clients ?
Before I did that:
struct ip_info info; wifi_set_opmode(STATIONAP_MODE); wifi_softap_dhcps_stop(); IP4_ADDR(&info.ip, 10, 0, 0, 1); IP4_ADDR(&info.gw, 10, 0, 0, 1); IP4_ADDR(&info.netmask, 255, 255, 255, 0); wifi_set_ip_info(SOFTAP_IF, &info); struct dhcps_lease dhcp_lease; IP4_ADDR(&dhcp_lease.start_ip, 10, 0, 0, 100); IP4_ADDR(&dhcp_lease.end_ip, 10, 0, 0, 105); wifi_softap_set_dhcps_lease(&dhcp_lease);
But since version 3.x.x I'm getting compilation exception: undefined reference to `wifi_softap_set_dhcps_lease'
Metadata
Metadata
Assignees
Labels
No labels