HOW to know LAN connected or not in frdmk64. i mean link is there or not.
thanks and regards,
I usually use result = ipcfg_get_link_active(BSP_DEFAULT_ENET_DEVICE); It returns the status of the link (active or not).
Please note that this function should be called after ipcfg_init_device()
I have code at following Community Post that shows how to wait for link/cable attach before issuing DHCP request.
Error[Li005]: no definition for "gsName" when trying to use DHCP
Retrieving data ...