You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unplug, replug, sleep and quit, with one resync routine #20
The bridge survives a bumped cable, Mac sleep and quitting without leaving anything stuck in Syndicate.
Acceptance criteria
CoreMIDI device notifications, not polling, detect removal and addition. Matching is by unique id, then name, then channel.
Unplugging sends the held-control releases (nudge, cue, hot cue, roll, reverse) exactly once, closes the ports, and logs and shows the disconnect.
A send or read error counts as a disconnect, and the fake MIDI system can inject one.
Replugging reopens the ports and runs the one resync routine: clear the LED cache, repaint every LED, send one Resend. It logs and shows the reconnect.
Starting with no controller is not an error. It connects when the controller appears.
The bridge releases held controls when the Mac is about to sleep and re-checks the devices on wake. Quit waits until the release sends have gone out.
LED writes while the controller is unplugged are dropped without error.
Written test-first with /tdd, at the agreed seams (the Coordinator with fakes, and OSC packet bytes).
Activity
Merge pull request #49 from ericdahl-dev/recovery-20
Merge pull request #50 from ericdahl-dev/recovery-20b
Read the controller's profile, deck and devices from the Coordinator