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

ESP32 Soft Access Point #304

Open
sjamesparsonsjr opened this issue Feb 6, 2022 · 1 comment
Open

ESP32 Soft Access Point #304

sjamesparsonsjr opened this issue Feb 6, 2022 · 1 comment
Labels
enhancement New feature or request open for vote Vote at https://wokwi.com/features

Comments

@sjamesparsonsjr
Copy link

I have ESP32 acting as an access point that serves a page to fill in the network SSID and password before connecting to the Local server. Does wokwi support WiFi.softAP(ssid, password)? I'm able to get WiFi.begin working.

@sjamesparsonsjr sjamesparsonsjr added the enhancement New feature or request label Feb 6, 2022
@urish urish added the open for vote Vote at https://wokwi.com/features label Feb 6, 2022
@urish
Copy link
Contributor

urish commented Feb 6, 2022

I did a quick test: https://wokwi.com/arduino/projects/322888460129010260

It turns out you can configure the ESP32 as AP, and it works - but not very useful at the moment.

The way you can see it works: if you start the AP and then download a packet capture file, and you can see the beacons from the new AP (together with the standard Wokwi-GUEST beacons):

image

So the AP is running. However, the simulator does not know how to connect to it, so it's not very useful at the moment.

The challenge in making it work is implementing a WiFi station: we need to be able to associate, get an IP address from the DHCP server, and then forward the traffic from your web browser down to the ESP32 network running in the simulation.

I opened this request for voting, let's see how this goes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request open for vote Vote at https://wokwi.com/features
Projects
None yet
Development

No branches or pull requests

2 participants