cancel
Showing results for 
Search instead for 
Did you mean: 

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

KAnahar
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions
KAnahar
Associate III

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.

View solution in original post

4 REPLIES 4
Bob S
Principal

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

Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
LCE
Principal

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
Associate III

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.