We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
API compatibility of WiFi.softAP() with ESP8266
ESP32 vs ESP8266
I was porting some code from ESP8266 to ESP32. Encounter the following at compile:
With ESP8266 chip, the following
String myString="name of my AP net"; WiFi.softAP(myString, "my password);
is valid
Under ESP32 it does not compile, as API expect const char * and not String as valid type.
Therefore if you could add this behaviour, for the sake of simplicity and not breaking API behaviour. WiFi.softAP(myString, "my password);
Thanks.
Add API: WiFi.softAP(String acceptThis, String andAlsoThis)
Modify source code.
No response
The text was updated successfully, but these errors were encountered:
@artofit - PR #7801 shall add the requested API overloading.
Sorry, something went wrong.
SuGlider
Successfully merging a pull request may close this issue.
Related area
API compatibility of WiFi.softAP() with ESP8266
Hardware specification
ESP32 vs ESP8266
Is your feature request related to a problem?
I was porting some code from ESP8266 to ESP32.
Encounter the following at compile:
With ESP8266 chip, the following
String myString="name of my AP net";
WiFi.softAP(myString, "my password);
is valid
Under ESP32
it does not compile, as API expect const char * and not String as valid type.
Therefore if you could add this behaviour, for the sake of simplicity and not breaking API behaviour.
WiFi.softAP(myString, "my password);
Thanks.
Describe the solution you'd like
Add API:
WiFi.softAP(String acceptThis, String andAlsoThis)
Describe alternatives you've considered
Modify source code.
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: