mirror of
https://github.com/esphome/esphome.git
synced 2026-10-21 21:36:14 +00:00
max_packet_size was a default with a setter that code generation called after construction, so it could be raised above the size of a link's buffer. It is now a constructor parameter, and a link with a fixed buffer takes the buffer as a std::span, so its size is the link's limit and the two cannot differ. Co-Authored-By: Claude Code <noreply@anthropic.com>