Skip to content

Check return value of udp_send and forward it WiFiUdp::endPacket #1696

Closed
@everslick

Description

@everslick

I see high packet loss when sending rapid UDP packets without yield() or delay(). A yield() after each packet does only help slightly, but delay(1) after each Udp.write() works around that bug.

Problem description:

The MAC layer seems to drop packets if the send queue is full, but this condition is not reported back to the application (endPacket() should return 0 in this case).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions