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

API compatibility of WiFi.softAP() with ESP8266 #7780

Closed
1 task done
artofit opened this issue Jan 31, 2023 · 1 comment · Fixed by #7801
Closed
1 task done

API compatibility of WiFi.softAP() with ESP8266 #7780

artofit opened this issue Jan 31, 2023 · 1 comment · Fixed by #7801
Assignees
Labels
Type: Feature request Feature request for Arduino ESP32
Milestone

Comments

@artofit
Copy link

artofit commented Jan 31, 2023

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

  • I confirm I have checked existing list of Feature requests and Contribution Guide.
@SuGlider
Copy link
Collaborator

SuGlider commented Feb 5, 2023

@artofit - PR #7801 shall add the requested API overloading.

@SuGlider SuGlider moved this from Todo to In Progress in Arduino ESP32 Core Project Roadmap Feb 5, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Arduino ESP32 Core Project Roadmap Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature request Feature request for Arduino ESP32
Projects
Development

Successfully merging a pull request may close this issue.

2 participants