- WireViewSerialDevice.clear_faults() sends CMD_CLEAR_FAULTS (0x0E)
with 16-bit keep masks (0x0000 clears, 0xFFFF keeps); all port
access is now serialized with an RLock so the poller, the
clear-fault endpoint and the watchdog cannot interleave on the
port mid-transaction.
- POST /api/wireview/clear-fault (serial transport only — in hwmon
mode wireviewd owns the port and the masks are read-only); the
sample is re-read immediately so clients see the cleared masks
without waiting for the next poll tick.
- WireView tab: Clear buttons on the fault status/log badges.
- tests: protocol-level clear-fault tests via pty (byte-exact
command framing, keep-mask semantics).