Skip to content
Commit e35ce374 authored by Paul Jans's avatar Paul Jans Committed by Carles Cufí
Browse files

drivers: ethernet: enc28j60: Added carrier status update functionality



Expanded the enc28j60 driver to update its carrier status
whenever the Ethernet cable is plugged in or out. I used the
enc424j600 driver as reference, as this driver already
included this functionality. The driver will now take
the interface offline whenever the cable is not plugged in
and stop sending packets. The respective events are also
generated for use in the application. I tested it locally
on my nRF52840 based gateway board using the enc28j60 network
chip. Everything worked as expected.

Signed-off-by: default avatarPaul Jans <paul.jans.1999@hotmail.com>

Fixes #51214
parent f460c215
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment