Two ESP32-only, opt-in, off-by-default ways to keep CAN reception clear on a busy bus. The default behaviour is unchanged from beta.5. Both are new and not yet confirmed on a car — turn them on in Listen-Only first. The web flasher installs the stable 2.16.0 by default; this is the opt-in beta on the same page (or …/install/#beta).
New (both opt-in, default off)
- Web server on the second core (#270). beta.5 stopped a phone that left the Wi-Fi from freezing the loop; this goes further. Turn on "Web server on 2nd core" (Advanced → restart to apply) and the web/WebSocket/dashboard work moves to a task on core 0, next to the Wi-Fi radio, so core 1 runs only CAN and no web activity can delay a frame. The capture stream's buffer was made safe to read from the other core. Suggested by @nobless and @boddyua.
- RX ID whitelist (performance). On a busy bus — a Vehicle-CAN tap especially — the controller spends effort (and, on an MCP2515/MCP2518FD, SPI reads) on frames the app never uses. Turn on "RX ID whitelist" and the controller's hardware filter is set to just the IDs the app needs right now: the always-on essentials (hardware detection, OTA, Autopilot/DAS status, the nag frame, brake, gear, speed, steering), the IDs each enabled feature reads, and the black-box key IDs while it records. If a capture or the tap check is running, or the set won't fit the controller's filter, it accepts everything instead, so it never drops a frame a feature needs. The benefit lands on the MCP2518FD (T-2CAN FD) and, more coarsely, on the TWAI controllers; the MCP2515's filter is too small for the set and stays accept-all. Follows @Tesla234987234sdf's dedicated-RX and whitelist work (#228) and @nobless's busy-bus reports.
Thanks to @nobless, @boddyua and @Tesla234987234sdf.