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

using example AP_SimpleWebServer, I can only connect one client #292

Open
KrisKasprzak opened this issue Apr 10, 2020 · 1 comment
Open

Comments

@KrisKasprzak
Copy link

I'm using the example AP_SimpleWebServer, and i can connect one client, but not two.

After adding the line in setup(), WiFi.setPins(8, 7, 4, 2); code runs and I can connect my Android phone to this web server and point my phones Chrome browser to 196.168.1.1 and the web page generated by the server displays correctly.

However I'm trying to connect a second phone to the web server, and the phone fails to make the connection.

the comment at the code "clients" indicates more than one can connect
WiFiClient client = server.available(); // listen for incoming clients

Anyone get this to work?

@broddo
Copy link

broddo commented Jul 25, 2020

I know your question is months old at this stage and you've probably already found your answer - but the WINC1500 only supports 1 client in AP mode. If you want more, you'll have to look at different hardware. I suggest the ESP8266 or ESP32 which support up to 4 clients in AP mode.

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