Skip to main content
FSoui.1
Associate
March 4, 2022
Question

How to remove the automatic response of the network stack on the STM ?

  • March 4, 2022
  • 1 reply
  • 1153 views

Hello ST community,

So I am working on this project using STM32F746G-DISCOVERY KIT and I want to have full control of the network stack behavior. For example when I send ping from the PC to the STM I don't want to receive an automatic pong.

Thank you.

This topic has been closed for replies.

1 reply

Mike_ST
Technical Moderator
March 4, 2022

Hello,

As far as I remember, Ping is part of ICMP protocol.

If you're using LWIP, there is that line in the lwipopts.h:

#define LWIP_ICMP                      1

I would try to set it to 0.

That's just a guess, never tried.

FSoui.1
FSoui.1Author
Associate
March 4, 2022

Thank you, I will try it