mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
Add SERIAL_PROXY_PORT_TYPE_USB_SERIAL, derived automatically when a port's uart_id resolves to a usb_uart channel (never set by the user), and a SerialProxyGetUsbInfoRequest/Response pair (IDs 153/154) that reads VID/PID/bcdDevice and the manufacturer/product/serial strings live from the descriptors the USB host stack caches, so a client can identify the attached device before subscribing. Ports that are not USB_SERIAL answer NOT_SUPPORTED; an unplugged device answers with connected=false. ZigbeeProxyRequest moves to ID 155 (expected merge order: set_mode, USB info, zigbee).