esphome/bluetooth-proxies

GL-iNet GL-S10 Issues

Closed this issue · 1 comments

Hi guys,

I am an employee of glinet and a new guy in ESPHOME. I apologize for only now being concerned about some of the issues in the community, and I hope to give some feedback here.

About the difference between the various hardware revisions of GL-S10

image
The two hardware versions differ only in the selection of the eth phy.
I'm sorry that we switched the phy selection without enought instructions last year and it caused some confusion. This is because the price of the original lan8720 has increased tens of times and the delivery time is not guaranteed at all.
We have written a specific hardware version number in the EFUSE section and the software can distinguish between the two different hardware versions. We have made a patch for ESP-IDF and will open source it on github next week. Hope this can helps the ESPHOME community.

About the packet loss on eth of GL-S10

We have done a series of tests, and here are our findings.

  • After IDFv5.0, there is a problem with the IP101 driver that causes packet loss.
  • In IDFv4.x, using esp32 internal clock to synchronize IP101 will cause packet loss.
  • In IDFv4.x, using an external crystal to synchronize ESP32 and IP101 will not cause packet loss.

Our gl-s10 is developed with stability in mind, even if it increases the cost, we provide an external crystal.
I haven't had a chance to confirm which clock setting ESPhome is using and the version of IDF. If it's just a problem with the choice of clocking scheme, then switching to an external clocking scheme will fix it.

Thanks,
kelly

Our open source IDF patch for adapting different hardware versions of gl-s10: https://github.com/gl-inet/gl-s10-idf-patch