Skip to main content
KAnahar
Associate III
November 4, 2022
Solved

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

  • November 4, 2022
  • 4 replies
  • 1601 views

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.
Best answer by KAnahar

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
November 4, 2022

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
November 9, 2022

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 II
November 10, 2022

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
November 10, 2022

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.