Search found 4 matches

by 386MMX
Sat Oct 31, 2020 3:20 pm
Forum: ESP-IDF
Topic: Checksums in UDP telegrams
Replies: 6
Views: 4656

Re: Checksums in UDP telegrams

thanks boarchuz, your suggestion is what I was looking for :)
by 386MMX
Fri Oct 30, 2020 11:02 am
Forum: ESP-IDF
Topic: Checksums in UDP telegrams
Replies: 6
Views: 4656

Re: Checksums in UDP telegrams

yes I use Wireshark on the same machine as I send out the UDP telegrams to the ESP32. I use dumpcap -I on a linux machine for the dump and then analyse it with Wireshark. The UDP packets are generated with PackETH, which allows to generate a checksum automatically or by hand. In the raw data the cor...
by 386MMX
Wed Oct 28, 2020 7:30 pm
Forum: ESP-IDF
Topic: Checksums in UDP telegrams
Replies: 6
Views: 4656

Re: Checksums in UDP telegrams

Hi boarchuz, ok if I get your answer correctly, you mean it should discard corrupt telegrams by default ? Meanwhile I checked it by sending UDP telegrams with a corrupt checksums (using packETH), but it still receives it. Wireshark also marks this telegrams corrupt. Not sure, maybe I use the wrong f...
by 386MMX
Tue Oct 27, 2020 9:04 pm
Forum: ESP-IDF
Topic: Checksums in UDP telegrams
Replies: 6
Views: 4656

Checksums in UDP telegrams

Hi all, while tracing UDP telegrams via Wireshark I see checksums. The telegrams are send to a ESP32 acting as an AP. My questions are: 1. Does the ESP32 automatically dismiss corrupted UDP telegrams? 2. Can I be sure, that when I read out data via recvfrom() that the checksum for this UDP telegram ...