Hi,
I know that UDP does not guarantee that data will be ever delivered.
I am broadcasting 21 bytes long datagram every 1 second but sometimes it is not delivered - usually 1 or 2 datagrams are missing in a row.
I am attaching wireshark log.
Even more interesting is that I don't see any packet drop / error:
My code is available at https://github.com/michprev/flyhero_datagram_loss
What might be the reason why datagrams are not delivered?
I am using ESP-IDF revision ed1304146 (tag: v3.1.2).
EDIT:
Some observations - does not matter if I use Windows or Linux, does not matter if I use external wifi dongle or internal wifi
If I use second laptop (and modify code to accept 2 connections) the second laptop does not have any issues (it receives what the first laptop does not receive)
datagram loss reason
datagram loss reason
- Attachments
-
- wirelog1.pcapng.txt
- (2.16 KiB) Downloaded 760 times
Who is online
Users browsing this forum: No registered users and 140 guests