datagram loss reason

michprev
Posts: 92
Joined: Fri Aug 04, 2017 8:57 pm

datagram loss reason

Postby michprev » Tue Feb 19, 2019 12:11 pm

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:
Screenshot_20190219_125804.png
Screenshot_20190219_125804.png (15.93 KiB) Viewed 613 times

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)
Attachments
wirelog1.pcapng.txt
(2.16 KiB) Downloaded 259 times

Who is online

Users browsing this forum: No registered users and 59 guests