Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WiFiS3 library: allow selection of WIFI_MODE_APSTA mode#459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
cotestatnt wants to merge1 commit intoarduino:main
base:main
Choose a base branch
Loading
fromcotestatnt:main

Conversation

@cotestatnt
Copy link

I am developing a WebServer library that includes a WiFi manager.
In the case of DHCP connections, it is essential to provide the user with the IP address assigned by the router.

In this situation (and in other scenarios), it is necessary to have the ability to operate in both WiFi Access Point mode and Station mode, simultaneously, after successfully connecting to the SSID.

PaoloP74, gpb01, and lyusupov reacted with thumbs up emoji
@CLAassistant
Copy link

CLAassistant commentedMar 21, 2025
edited
Loading

CLA assistant check
All committers have signed the CLA.

@per1234per1234 added type: enhancementProposed improvement topic: codeRelated to content of the project itself labelsMar 21, 2025
@JAndrassy
Copy link
Contributor

JAndrassy commentedMar 21, 2025
edited
Loading

but which IP does then WiFi.localIP() return ?

and connecting STA to AP usually restarts SoftAP because it must match the channel used for STA. I guess that is a problem for your WiFi Manager as it disconnects clients

@cotestatnt
Copy link
Author

In my pull request, thelocalIP() method, in case of WIFI_MODE_APSTA, returns the address assigned by the router, but in fact it would be more correct to provide a second method that explicitly returns the IP address of the AP as happens with the ESP32 core for Arduino calling theIPAddress softAPIP() method, while I thinklocalIP() should always return the STA address.

@cotestatnt
Copy link
Author

cotestatnt commentedMar 21, 2025
edited
Loading

@JAndrassy regarding your doubt about the WiFi channel, I don't think it's a problem and in fact as you can see from this screenshot the WiFi manager works as expected.

image

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

topic: codeRelated to content of the project itselftype: enhancementProposed improvement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@cotestatnt@CLAassistant@JAndrassy@per1234

[8]ページ先頭

©2009-2025 Movatter.jp