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

feat(ble): Add option to disable profile auto save #2282

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

huber-th
Copy link
Contributor

@huber-th huber-th commented Apr 25, 2024

Add Kconfig option ZMK_BLE_PERSIST_PROFILE_ON_CHANGE with default set to y, to allow users to disable persisting the BLE profile index after every change. This is useful if the user wants to have the same profile connected at startup regardless of which profile was connected last.

Add &bt BT_SAVE command to manually persist the currently active BLE profile, ensuring it is selected as the active profile on startup.

@huber-th huber-th requested a review from a team as a code owner April 25, 2024 05:17
@huber-th huber-th force-pushed the ble-persist-profile-change-config branch from 503b80d to 6fa0063 Compare April 25, 2024 05:19
@caksoylar
Copy link
Contributor

LGTM on docs (also sounds like a good improvement).

@caksoylar caksoylar added enhancement New feature or request behaviors labels Apr 25, 2024
@huber-th huber-th force-pushed the ble-persist-profile-change-config branch from 6fa0063 to a26dc72 Compare April 26, 2024 04:54
@huber-th huber-th force-pushed the ble-persist-profile-change-config branch 2 times, most recently from 5673815 to 9dc7694 Compare June 7, 2024 20:41
@huber-th
Copy link
Contributor Author

huber-th commented Jun 7, 2024

Rebase from main to resolve conflicts in bluetooth.md

@huber-th huber-th force-pushed the ble-persist-profile-change-config branch from 9dc7694 to 4497b01 Compare September 4, 2024 16:12
@huber-th huber-th requested a review from a team as a code owner September 4, 2024 16:12
@huber-th huber-th force-pushed the ble-persist-profile-change-config branch from 4497b01 to 7eb1879 Compare September 4, 2024 16:20
Add Kconfig option to disable persisting the BLE profile index after
every change. This is useful if the user wants to have the same profile
connected at startup regardless of which profile was connected last.

Add `&bt BT_SAVE` command to manually persist the currently active BLE
profile, ensuring it is selected as the active profile on startup.
@huber-th huber-th force-pushed the ble-persist-profile-change-config branch from 7eb1879 to ef36b19 Compare November 14, 2024 19:56
@huber-th
Copy link
Contributor Author

huber-th commented Dec 9, 2024

@petejohanson, I wanted to check in on the status of this PR. Is this something that you would consider for merging, or would you prefer to close it? I might be an outlier in wanting this behavior on my keyboard, but I'm happy to hear your thoughts.

Please let me know if any changes are needed on my end.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
behaviors enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants