mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[PR #290] feat: configurable status LEDs (modes & roles) with Web UI controls #273
Labels
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
safijari/openpuck#273
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?
📋 Pull Request Information
Original PR: https://github.com/safijari/openpuck/pull/290
Author: @ripps818
Created: 9/14/2026
Status: 🔄 Open
Base:
main← Head:status-led📝 Commits (4)
a1849cffeat: add status LED indicators for connection and pairing states5bd98f3feat: add status LED configuration and web UI controlsd34e828docs: document status LED WebUI configuration and protocol v221c92d03feat: support independent per-pin polarity, behavior, and hardware presets for status LEDs📊 Changes
10 files changed (+468 additions, -38 deletions)
View changed files
📝
ARCHITECTURE.md(+8 -4)📝
OpenPuck/config.cpp(+33 -1)📝
OpenPuck/rf_link.cpp(+23 -0)📝
OpenPuck/rf_link.h(+1 -0)📝
OpenPuck/status_led.cpp(+127 -14)📝
OpenPuck/status_led.h(+42 -12)📝
OpenPuck/webusb_config.cpp(+59 -3)📝
README.md(+11 -1)📝
docs/PROTOCOL.md(+11 -1)📝
docs/index.html(+153 -2)📄 Description
Resolves https://github.com/safijari/openpuck/issues/284
Summary
Adds configurable status LED support to indicate dongle state (disconnected/advertising, connected, wake indication, heartbeat, solid on/off). LEDs are fully configurable at runtime via WebUSB and saved to flash memory across reboots.
Key Changes
Status: Fast blink while advertising / searching; slow pulse / breath when connected.Heartbeat: Periodic alive blink.Wake Only: Illuminates briefly upon controller wake / activity.Solid On&Off.32(Mode A),33(Pin A),90(Pin B),91(Polarity A),92(Test Pulse),93(Mode B),94(Polarity B).docs/PROTOCOL.md.Verification
make check: Passesclang-format 18and trailing-comment lint checks.make build: Clean compilation with 0 warnings/errors.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.