Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional settings in WiFiManager.cpp #11

Closed
nibelungen opened this issue Nov 2, 2015 · 1 comment
Closed

Additional settings in WiFiManager.cpp #11

nibelungen opened this issue Nov 2, 2015 · 1 comment

Comments

@nibelungen
Copy link

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.

@tzapu
Copy link
Owner

tzapu commented Nov 10, 2015

added in 8791180

cheers

@tzapu tzapu closed this as completed Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants