In WIFI_MODE_APSTA mode, when STA connected - DHCP server (dhcps) on SoftAP interface stops work.
If enable dhcps debug (#define DHCPS_DEBUG 1) you may see that dhcp server got DHCPREQUEST, but no any DHCPOFFER on connected device. if disconnect STA interface on esp32 (set wrong ssid or pass) - dhcps on SoftAP inteface start work correct.
I use newlest revision of ESP-IDF (hash 1773770f446fb12db2c18217f09fa9d0d2febd35).
Attach demo proj and dhcps logout data. Pls, any help to solve this situation.
Strange dhcps behavior
-
- Posts: 5
- Joined: Thu Jul 20, 2017 6:04 am
Strange dhcps behavior
- Attachments
-
- dhcps_log.zip
- (2.36 KiB) Downloaded 421 times
-
- esp32_dhcps.zip
- (6.17 KiB) Downloaded 402 times
-
- Posts: 5
- Joined: Thu Jul 20, 2017 6:04 am
Re: Strange dhcps behavior
seems fixed in commit c65f12bb45b1f956c7327af0d55bb46cb6ad4be2.
Who is online
Users browsing this forum: No registered users and 123 guests