Skip to main content
Visitor II
November 4, 2022
Solved

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

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

    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.

    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

    Graduate 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".

    KAnaharAuthorAnswer
    Visitor II
    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.