Bridge Plugin over a serial-port capability #105
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#107 Bridge follows every Handoff (RELEASE / CLAIM)
SBDeveloper/medley
Reference
SBDeveloper/medley#105
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
An optional
bridgePlugin that talks to a Medley Bridge (MB-1) over USB serial and shows its status in its Plugin view: headset name, Bridge state, battery, signal and input level. This needs a new Plugin capability for serial ports, along the lines oflocal_sockets(ADR 0006): the Plugin declares the ports it may open, the user consents to that list, and the Plugin opens, reads, writes and closes them through one host function. The Plugin speaks the Bridge protocol, so the host knows nothing about the Bridge.The Plugin also gives the host a way to read the Bridge's current state (polled by the host, since Plugins are call-driven) and to send
RELEASE/CLAIM. Later tickets use these.See ADR 0026 and the glossary term Bridge (it is not an Output).
Acceptance criteria
ttyACM*) and the user consents to that list like any other capabilityRELEASE/CLAIMdocs/plugin-manifest.mddocuments the capability; the Plugin installs from the registry like the other optional PluginsBlocked by
None (can start immediately)
Implemented in
a465b38(serial_ports capability, fixture plugin, bridge Plugin 0.1.0); view polished inae87204(bridge 0.2.0: badge, meters, live refresh). Follow-ups: #110–#114.