mirror of
https://github.com/ruppert/fmini-1.git
synced 2026-12-06 21:04:26 +01:00
Backup: the web editor reads all 200 presets (cmd 85, the whole record) and saves them in one .bkp file (JSON, records in hex). Restore: cmd 87 asks the device first. The device shows OVERWRITE ALL 200 PRESETS? with NO selected: ALGORITHM turns it to YES, SAVE accepts; SAVE on NO or any page button refuses; no answer for 60 s refuses. Only then does cmd 86 write each record (rc 2 before the YES and after the end). The restore question sits above the other pop-ups; the preset and tempo pop-ups stay hidden under it. Protocol 4: the web editor needs it. tests/editor_test.c walks the handshake and the record round trip; tests/fmini_app_test.c drives the question on the panel and renders it; web/test_editor_fmini.py backs up, restores a changed file and puts the original back (the bridge answers the question: FM_RESTORE_ANSWER). Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94