zmkfirmware / zmk

ZMK Firmware Repository
https://zmk.dev/
MIT License
2.72k stars 2.77k forks source link

Feature: Utilize status LED for different BLE actions #114

Open Nicell opened 4 years ago

Nicell commented 4 years ago

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.

petejohanson commented 4 years ago

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

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:

BrainWart commented 4 years ago

Would this account for the peripheral pairing too?

petejohanson commented 4 years ago

(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 commented 2 years ago

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