Description
Board
esp32s3
Device Description
lilygo t-energy s3
Hardware Configuration
n/a
Version
latest master (checkout manually)
IDE Name
arduino ide
Operating System
windows 11
Flash frequency
80Mhz
PSRAM enabled
yes
Upload speed
921600
Description
dhcp option 114 has been added to esp-idf 5.4 here, which has recently been merged into arduino-esp32 master. how can i use it in captive portal?
Sketch
i am using the captiveportal example
Debug Message
n/a
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Activity
SuGlider commentedon May 26, 2025
This is an IDF new feature. ESP32 Arduino Core doesn't support it directly.
It is possible to replicate the IDF example using an Arduino sketch that calls IDF directly, given that it is included within the Arduino Core Static IDF Libraries.
Another way to implement that feature would be by creating an Arduino as IDF Component project.
For more information about how to use this feature, please check the IDF example at
https://github.com/espressif/esp-idf/blob/master/examples/protocols/http_server/captive_portal/README.md
lbernstone commentedon May 26, 2025
It looks like there is a CONFIG_ option, so this would need to be enabled in the sdkconfig.
SuGlider commentedon May 27, 2025
@eyaler - As pointed by @lbernstone, in such case, the only solution would be building the Arduino Project as IDF Component in order to change settings with
idf.py menuconfig
and then enablingCONFIG_ESP_ENABLE_DHCP_CAPTIVEPORTAL
, among other necessary IDF features.Given that this is not an Arduino matter, I'll close this issue.
me-no-dev commentedon May 27, 2025
We could try and implement this, since it's optional and will require additional calls to DHCP. I've kept the issue in my backlog