- Notifications
You must be signed in to change notification settings - Fork13.3k
PHY status API for ethernet drivers#8784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
d-a-v commentedJan 3, 2023
@JAndrassy Do you know if Link/PHY status can be read by software for W5100 and ENC28j60 ? |
JAndrassy commentedJan 3, 2023
@d-a-v yes it is possible PHY register 0x11 bit 10 |
d-a-v commentedJan 3, 2023
@JAndrassy Thanks ! It seems W5100 can't deliver link status readable by software ? |
mcspr commentedJan 4, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
btw do we care about Ethernet compatibility? edit: probably not |
d-a-v commentedJan 4, 2023
* PHY status API for W5500 & ENC28J60 drivers* move linkStatus() from ArduinoEthernet:: to LwipIntfDev::* LwipIntfDev: include PHY status into ::connected()
Uh oh!
There was an error while loading.Please reload this page.
Implementation of
::isLinked()for ethernet drivers:This function returns true when the ethernet chip is physically connected.
(edited) It currently works and has been tested with W5500 and ENC28J60, and it seems it is not implementable with W5100.
An additional
::isLinkDetectable()tells when::isLinked()is not trivially implemented.(edited)
::connected()is software only and is left unmodified for backward compatibilityis updated to check link status tosolve compatibility with WiFi API.Closes#8099