Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Utilize status LED for different BLE actions #114

Open
Nicell opened this issue Aug 21, 2020 · 4 comments
Open

Feature: Utilize status LED for different BLE actions #114

Nicell opened this issue Aug 21, 2020 · 4 comments
Labels
bluetooth Bluetooth related items board PRs and issues related to boards. core Core functionality/behavior of ZMK enhancement New feature or request

Comments

@Nicell
Copy link
Member

Nicell commented Aug 21, 2020

Most board replacements have a status LED on them that we can use to notify the user when the board is advertising, when it bonds, and when bonds are cleared. (switching profiles could be a feature in the future too). This would give much better feedback as to what's happening for troubleshooting and just in general.

@Nicell Nicell added bluetooth Bluetooth related items board PRs and issues related to boards. core Core functionality/behavior of ZMK enhancement New feature or request labels Aug 21, 2020
@petejohanson
Copy link
Contributor

As I was thinking about this, I thought about some states that would be helpful to indicate:

  • No BLE connection
  • New BLE connection
  • Indicate clearing of all bonds via unpair combo.
  • Active connection?

As we noted in Discord (https://discord.com/channels/719497620560543766/719544230497878116/746182170061570109), we might want to have those states be dependent on the selected "profile" or "slot" that is currently selected, to allow cycling between different paired devices, and pairing a new device into a certain slot.

Maybe another status might be:

  • Blink # of times for that number slot you just switched to, then pause, then do the remaining status blink code?

@BrainWart
Copy link
Contributor

Would this account for the peripheral pairing too?

@petejohanson
Copy link
Contributor

(Previous deleted comment was based on me thinking this was a different issue. Oy.)

@BrainWart That's a good question. I think we'd use the peripheral LED for that status, so the central side status could be used for the connection status to the host. Seems that would work well.

@forrestbaer
Copy link

Perhaps it could be another & command for toggling, blinking, slow blink, fast blink, addressable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bluetooth Bluetooth related items board PRs and issues related to boards. core Core functionality/behavior of ZMK enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants