how to check internet link in frdmk64 (KDS 2.0)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to check internet link in frdmk64 (KDS 2.0)

Jump to solution
469 Views
sudhakarp
Contributor V

hi,

HOW to know LAN connected or not in frdmk64. i mean link is there or not.

thanks and regards,

sudhakar p

Labels (1)
0 Kudos
1 Solution
340 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi,

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()

Regards,

Carlos

View solution in original post

0 Kudos
2 Replies
341 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi,

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()

Regards,

Carlos

0 Kudos
340 Views
DavidS
NXP Employee
NXP Employee

Hi Sudhakar,

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

Regards,

David