Firmware (state_machine.c): - Remove binary_parser_reset() from SERIAL_BRIDGE→RECEIVING handler - Remove binary_parser_reset() from ERROR→RECEIVING handler - Parser's INIT handler already resets itself; calling reset AFTER INIT payload processing wipes expected_total_crc to 0 → CRC fail Frontend (ble-deployer.ts): - Tighten INIT readValue poll: state===1 (RECEIVING) only Previously accepted state >= 1 && <= 4 which could false-positive on FLASHING(3) or SERIAL_BRIDGE(4) stale states Cache v9 → v10 |
||
|---|---|---|
| .. | ||
| ble_service.c | ||
| led_button.c | ||
| led_button.h | ||
| main.c | ||
| serial_bridge.c | ||
| serial_bridge.h | ||
| state_machine.c | ||