Skip to content

SimpleWiFiServer with high data loss rate #263

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

Closed
copercini opened this issue Mar 14, 2017 · 2 comments
Closed

SimpleWiFiServer with high data loss rate #263

copercini opened this issue Mar 14, 2017 · 2 comments

Comments

@copercini
Copy link
Contributor

Using SimpleWiFiServer with CSS and html some lines are just not printed by client.

For test I adapted the SimpleWiFiServer example for print a list from 0 to 999, and it have a considerable amount of missing data, here is the test code:

            client.println("0 to 999 list<br>");
            for (int i = 0; i < 1000; ++i){
              client.print(i);
              client.println("<br>");         
            }

Some errors:
screenshot_2

screenshot2:
screenshot_1

@copercini
Copy link
Contributor Author

Increasing #define WIFI_CLIENT_SELECT_TIMEOUT_US (100000) to 1000000 in libraries/WiFi/src/WiFiClient.cpp fix this issue.

Maybe change this constant just for WiFi Server or allow user set it on arduino IDE code solve it.

@me-no-dev
Copy link
Member

Done and thanks :)

blue-2357 pushed a commit to blue-2357/arduino-esp32 that referenced this issue Jul 17, 2024
dash0820 added a commit to dash0820/arduino-esp32-stripped that referenced this issue Mar 10, 2025
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