-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Comments
I would love to have that! |
@liamcharger Is it possible for the icon to be some watch? |
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. |
According to https://www.bluetooth.com/wp-content/uploads/Files/Specification/Assigned_Numbers.html, 0xC2 is smartwatch which would be correct (Section 2.6.3). Where did you see generic mouse? I could totally be misreading this BTW, I don't find the spec legible... |
Interesting, you're right, although CxC0 would still be generic watch. Smartwatch wasn't listed where I was looking
I'm looking for it, but I can't find the spec. It wasn't the same one you linked, though... |
I think it's correct. I have a sports watch supporting BLE as well, I've just checked and it uses 0xC1 which NRF connect displays as "sports watch" - checks out. But interestingly 0xC2 is displayed as "unknown". So perhaps 0xC2 isn't well supported for some reason? You tried C0 right? And that didn't work with apple either? I wouldn't be against changing it if C0 appears to be the way to do it |
Both C0 and C2 didn't work; I just checked what iOS was receiving, and I got a 0 (undefined). Then I tried reading directly from the Appearance characteristic from InfiniLink in case the issue was with what iOS was doing, but I didn't get any data from it. So for some reason, iOS in general isn't getting an appearance value. |
The joys of the black box apple BLE stack appear endless! Do you have another device to check if that can read the value? Just to confirm it's there at all |
I actually do have an old Android device I can use...I'll get back to you on what I find. |
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:
The text was updated successfully, but these errors were encountered: