[GH-ISSUE #11] Additional settings in WiFiManager.cpp #7

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

Originally created by @nibelungen on GitHub (Nov 2, 2015).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/11

Adding some values to set the ip address in AP Mode.

Add these lines:

IPAddress local_ip = IPAddress(10, 0, 0, 1);
IPAddress gateway_ip = IPAddress(10, 0, 0, 1);
IPAddress subnet_ip = IPAddress(255, 255, 255, 0);
WiFi.softAPConfig(local_ip, gateway_ip, subnet_ip);

to void WiFiManger::begin(char const *apName)

will set the IP Address - maybe needed in some case.

Would be great to set as parameter in main code.

Best regards.

Originally created by @nibelungen on GitHub (Nov 2, 2015). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/11 Adding some values to set the ip address in AP Mode. Add these lines: IPAddress local_ip = IPAddress(10, 0, 0, 1); IPAddress gateway_ip = IPAddress(10, 0, 0, 1); IPAddress subnet_ip = IPAddress(255, 255, 255, 0); WiFi.softAPConfig(local_ip, gateway_ip, subnet_ip); to void WiFiManger::begin(char const *apName) will set the IP Address - maybe needed in some case. Would be great to set as parameter in main code. Best regards.
kerem closed this issue 2026-02-28 01:22:50 +03:00
Author
Owner

@tzapu commented on GitHub (Nov 10, 2015):

added in github.com/tzapu/WiFiManager@87911808ab

cheers

<!-- gh-comment-id:155325497 --> @tzapu commented on GitHub (Nov 10, 2015): added in https://github.com/tzapu/WiFiManager/commit/87911808abcf164d945a13f6e853e6e485b62ee4 cheers
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#7
No description provided.