esp_netif interfaces check for isConnected for esp32p4 compatiblity#235
Merged
hoeken merged 2 commits intohoeken:masterfrom May 3, 2026
Merged
esp_netif interfaces check for isConnected for esp32p4 compatiblity#235hoeken merged 2 commits intohoeken:masterfrom
hoeken merged 2 commits intohoeken:masterfrom
Conversation
…i.h and ETH.h dont work on esp32p4 with co-processor.
simonttp78
added a commit
to simonttp78/PsychicHttp
that referenced
this pull request
Feb 23, 2026
…bility This patch is based on the work by woodenplastic (see PR hoeken#235 in hoeken/PsychicHttp). It updates isConnected() to enumerate all esp_netif interfaces and check for a valid IP address, ensuring compatibility with ESP32-P4 and future ESP32 variants. Commit time: 05:50
Owner
|
Hey I'm sorry, somehow I missed the notification for this. I'll try and get it tested and merged ASAP. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
i hope this contribution is up to standarts, its my first time so sorry for in advance if not suited.
On a esp32p4 model with co-processor the webserver didnt start because we dont use WiFi or ETH in esp-idf. I tried different things to fix that problem and this pr is what i came up with.
It doesnt rely on WiFi or ETH, instead loops through the interfaces to find a used one.
Feedback is highly appreciated.
Best
Adrian