mirror of
https://github.com/esphome/esphome.git
synced 2026-09-03 19:46:02 +00:00
1490845dcf2e59ef04e0f827101c9cc514a919ff
get_cached_sock() was a new public method that only OTA's fast-select wake filter would ever call. Drop it. The existing public C API already covers this: esphome_lwip_get_sock(fd) looks up a lwip_sock* from a file descriptor (it's exactly what BSDSocketImpl's own constructor calls to populate cached_sock_). OTA uses the public get_fd() + esphome_lwip_get_sock() chain instead — no new Socket accessor, no friend declarations, no layering concerns. The one-time lookup at setup is negligible.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
582 MiB
Languages
C++
56%
Python
43.4%
C
0.3%
JavaScript
0.2%
