Extended battery information #889
Unanswered
lemmingDev
asked this question in
Q&A
Replies: 1 comment 3 replies
-
This isn't built in to the HID class but the characteristics would just need to be added to the battery service like the battery level currently is, pretty easy to do. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Is it possible to access new battery service v1.1 data as outlined here:
https://www.bluetooth.com/specifications/specs/battery-service/
Specifically things like indicating to the host whether it's currently charging, and the ability to define devices with left and right batteries
3.2.1.2. Power State field seems it would satisfy the first one
I had a quick look at NimBLE source, but I couldn't find any existing functions apart from setting and reading the battery power level, which works well for that
A few people have asked over in the ESP32-BLE-Gamepad GitHub
Thanks
Beta Was this translation helpful? Give feedback.
All reactions