[GH-ISSUE #369] send new ip adress #310

Closed
opened 2026-02-28 01:24:40 +03:00 by kerem · 1 comment
Owner

Originally created by @sloba1988 on GitHub (May 22, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/369

hello, where to put the line of code, that when is successfully connect sending a new ip address instead of
handleWifiSave() - page (I found a way to stop this page)
for example, when esp start, it is on the static address 192.168.4.1 but when it get wifisave?s... , esp connect and go out of the station mode, but where do I put this line of code:
server->send ( 200, "text/html", WiFi.localIP().toString() );
to return the ip address before leaving the station mode. I tried here int WiFiManager::connectWifi(String ssid, String pass) but it is under error.
thank you

Originally created by @sloba1988 on GitHub (May 22, 2017). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/369 hello, where to put the line of code, that when is successfully connect sending a new ip address instead of `handleWifiSave()` - page (I found a way to stop this page) for example, when esp start, it is on the static address 192.168.4.1 but when it get `wifisave?s...` , esp connect and go out of the station mode, but where do I put this line of code: `server->send ( 200, "text/html", WiFi.localIP().toString() ); ` to return the ip address before leaving the station mode. I tried here `int WiFiManager::connectWifi(String ssid, String pass)` but it is under error. thank you
kerem closed this issue 2026-02-28 01:24:40 +03:00
Author
Owner

@tablatronix commented on GitHub (Aug 27, 2017):

You probably figured this out already

<!-- gh-comment-id:325169483 --> @tablatronix commented on GitHub (Aug 27, 2017): You probably figured this out already
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#310
No description provided.