-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Refactor WiFiUDP for branch 3.0.x #7853
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
Comments
I was looking into this and discovered that AsyncUDP is already well structured and offers better functionality. Thanks to https://esp32.com/viewtopic.php?t=30724. |
WiFiUDP is the ONLY library that uses |
Maybe this solves strange issues seen with ESPAsyncwebserver. |
Mentioned PRs above have been merged, closing as done. |
Related area
WiFi
Hardware specification
NA
Is your feature request related to a problem?
cbuf in WiFiUDP may cause in crash on low memory and is not the preferred way to track incoming data.
Describe the solution you'd like
As noted by @me-no-dev, WiFiUDP "should transition from using cbuf to something more FreeRTOS related, like Queue (for single bytes) and Ringbuf (for multiple bytes). cbuf should really get phased out and removed in Arduino 3.0.0".
Describe alternatives you've considered
WiFiUDP generally works well. Refactoring is a long term goal targeting 3.0.0 branch or above.
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: