Detection of Ethernet cable insertion and removal on iMXRt1064

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Detection of Ethernet cable insertion and removal on iMXRt1064

1,327 次查看
simon_walke
Contributor II

ARM Cortex M7 running FreeRTOS and the LWIP stack on top of FSL ethernet driver (fsl_enet.c)

Is it possible to detect the plug/unplug actions for an Ethernet device ?

Within LWIP, there are various callbacks that can be instrumented for link and interface up/down events, but it's not clear to me how they should be triggered based on Ethernet PHY activity.

Has anyone done this, or can point me to a primer for it ?

标签 (1)
2 回复数

1,204 次查看
carstengroen
Senior Contributor II

1,204 次查看
simon_walke
Contributor II

Great, thanks Carsten, very useful.

0 项奖励