cancel
Showing results for 
Search instead for 
Did you mean: 

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

FSoui.1
Associate II

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.

2 REPLIES 2
Mike_ST
ST Employee

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.

Thank you, I will try it