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

Support Battery Level Status BLE characteristic #2177

Open
liamcharger opened this issue Dec 3, 2024 · 4 comments
Open

Support Battery Level Status BLE characteristic #2177

liamcharger opened this issue Dec 3, 2024 · 4 comments
Labels
enhancement Enhancement to an existing app/feature feature request

Comments

@liamcharger
Copy link
Contributor

I would like the Battery Level Status characteristic to be implemented (see 3.29 in this spec)

I'm working on some features in InfiniLink that require the charging state to be known.

At the same time, this may allow InfiniTime to show itself in the iOS battery widget, like it is shown here:
image

@liamcharger liamcharger changed the title Support Battery Level Status BLE Characteristic Support Battery Level Status BLE characteristic Dec 3, 2024
@Ralimbahere
Copy link

I would love to have that!

@mark9064 mark9064 added enhancement Enhancement to an existing app/feature feature request labels Dec 19, 2024
@liamcharger
Copy link
Contributor Author

As it turns out, the battery characteristic is enough for iOS to display the device in the widget, but the connection needs to be encrypted. (When using ANCS, it appeared.)

image

@cyberneel
Copy link

@liamcharger Is it possible for the icon to be some watch?

@liamcharger
Copy link
Contributor Author

In theory, the icon should be a watch when the GAP Appearance value is set to Generic Watch (0xC0). The value is set here. According to the doc, the value is currently being set for a generic mouse, which is incorrect, but when I switched it to 0xC0, it didn't change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to an existing app/feature feature request
Projects
None yet
Development

No branches or pull requests

4 participants