cancel
Showing results for 
Search instead for 
Did you mean: 

ethernetif_update_config is not updating link status

RKuma.7.302
Associate II

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.

0 REPLIES 0