2019-07-22 10:13 PM
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.