Hello David, I will try this option.
Thank you very much. Best regards, Flavio Em qua., 19 de mai. de 2021 19:28, David Sidrane <david.sidr...@nscdg.com> escreveu: > This https://github.com/apache/incubator-nuttx/pull/1924 was merged. It > adds > the polling. > > This is the app https://github.com/PX4/NuttX-apps/pull/8 does the rest. > > It was not upstreamed because it was not everything others wanted and I > could not test what they wanted. > > David > > -----Original Message----- > From: Gregory Nutt [mailto:spudan...@gmail.com] > Sent: Wednesday, May 19, 2021 2:56 PM > To: dev@nuttx.apache.org > Subject: Re: Ethernet cable (network interface availability) detection > > > > Considering this scenario, is there any alternative approach that I > > could use to have this detection? Polling the phy, or something > > similar? > > As I recall, David Sidrane submitted a PR to do just this but it was not > incoporated. I don't recall why. I recall having some concerns that > polling the PHY in maintenance mode would interfere with normal > operational mode, but I think David demonstrated that there was not an > issue with that. > > I think these: > > https://github.com/apache/incubator-nuttx-apps/pull/402 > > https://github.com/apache/incubator-nuttx-apps/pull/415 >