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): Allow disabling BLE BAS reporting #1973

Merged
merged 10 commits into from
Nov 15, 2023

Conversation

ReFil
Copy link
Contributor

@ReFil ReFil commented Oct 20, 2023

The battery reporting has been known to cause macOS computers to wakeup repeatedly. In some cases (e.g. display or custom lighting implementation) one might want to collect battery SOC without broadcasting over BLE

ReFil added 2 commits October 19, 2023 15:07
The battery reporting has been known to cause macOS computers to wakeup repeatedly. In some cases (e.g. display or custom lighting implementation) one might want to collect battery SOC without broadcasting over BLE
@ReFil ReFil requested a review from a team as a code owner October 20, 2023 09:29
@Katona
Copy link
Contributor

Katona commented Oct 20, 2023

I also experience this, is there any clue why this happens?

Copy link
Contributor

@caksoylar caksoylar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add CONFIG_BT_BAS to the table in https://zmk.dev/docs/config/system#bluetooth? Even though it isn't defined by ZMK, we seem to document them there if it can be useful to the user.

docs/docs/config/battery.md Outdated Show resolved Hide resolved
Copy link
Contributor

@caksoylar caksoylar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on the docs.

@ReFil ReFil requested a review from joelspadin November 6, 2023 08:57
@petejohanson
Copy link
Contributor

@ReFil Can you please rebase so this can be merged. Code looks good to me!

Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@petejohanson petejohanson merged commit 8776911 into zmkfirmware:main Nov 15, 2023
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants