Skip to main content
RKuma.7.302
Associate II
Jul 23, 2019 5:13 AM UTC
Question

ethernetif_update_config is not updating link status

Hi Team,

I am trying to get the Ethernet link status (UP/DOWN). But i am not getting that. Even i tried manually also but still i am getting connected even it is down(unplugged Ethernet cable).

if (netif_is_link_up(&gnetif))

{

printf(" Eth UP\n");

} else

{

printf("Eth Down\n");

}

MCU - STM324F29ZI

CUBEMX - STM32Cube_FW_F4_V1.24.1

I attached lwipopts , ethernetif files. Please look it once.

This topic has been closed for replies.