Skip to main content
KAnahar
Associate III
Nov 4, 2022 2:00 PM UTC
Solved

I SEND UDP PACKAGE WITH STM32 BUT THE PROTOCOL SHOWNS AS ECHO. WHY?

I'm trying to send udp data from stm to server. But when i observe in Wireshark, the protocol shown as ECHO, not UDP. What is the reason?

This topic has been closed for replies.
KAnahar
KAnaharBest answer
Associate III
Nov 10, 2022 2:33 PM UTC

Thank you my friends. I solve the problem. The problem is due to port 7 conflict. When I changed the port number, the problem was solved.

4 replies

Bob S
Super User
Nov 4, 2022 2:21 PM UTC

UDP is the protocol that you are using, as opposed to TCP. "ECHO" is a particular socket/port number under both UDP and TCP.

ST Technical Moderator
Nov 9, 2022 6:25 PM UTC

Hello @KAnahar​ and welcome to the Community :)

Have a look at this Nx_UDP_Echo_Server example working example on STM32H735 board.

Hope this helps you. 

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
LCE
Principal III
Nov 10, 2022 5:57 AM UTC

Wireshark knows most "well known ports" (https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers), and port 7 which you are using is the "echo port".

So check the list and choose another port number, or just ignore Wireshark's "extra info".

KAnahar
KAnaharAuthorBest answer
Associate III
Nov 10, 2022 2:33 PM UTC

Thank you my friends. I solve the problem. The problem is due to port 7 conflict. When I changed the port number, the problem was solved.