mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
* Fix sending NACK, use helper function to fill pbuf As noticed in https://github.com/esp8266/Arduino/pull/8582#issuecomment-1153331408 Plus, handle the case when `pbuf->len` is less than struct size * Make sure to call SDK functions to start and stop DHCP server As noticed in https://github.com/esp8266/Arduino/pull/8582#issuecomment-1153331408 Can't really use `server.begin()` and `server.end()` directly, only default static IP is applied to the interface since DHCP server is deemed 'running' (see `wifi_softap_dhcps_status()` return value) * s Co-authored-by: david gauchard <gauchard@laas.fr>