Skip to content

Refactor WiFiUDP for branch 3.0.x #7853

Closed
@mrengineer7777

Description

@mrengineer7777

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

  • I confirm I have checked existing list of Feature requests and Contribution Guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions