-
-
Notifications
You must be signed in to change notification settings - Fork 199
Description
This is an issue to discuss figuring out battery support on the Pro / Pro X wireless headsets.
The G933-esque battery support came from https://github.com/ashkitten/g933-utils
That repo includes a Wireshark Lua plugin to help analyze the Logitech HID+ protocol, but it seems to have a few shortcomings with the newer G Hub software and the Pro X.
I didn't see anywhere in the "known" messages where the battery status was queried by the G-Hub software. I tried the following:
- start wireshark with dongle connected but headset power off
- open g-hub application
- turn on headset
At this point, the headset shows up as connected in G-Hub and the battery level appears. So, somehow the app is determining the battery percentage somehow.
The G933 implementation has a get voltage function that it then converts to a percentage:
https://github.com/Sapd/HeadsetControl/blob/master/src/devices/logitech_g633_g933_935.c#L51-L89
However, as I mentioned earlier, the Pro X doesn't appear to ever be sent any kind of get battery request that's "known" at this point.
In the issue I filed with ashkitten's repo, you can see the Lua issues I'm having.
If you have any suggestions or ideas, let me know. I have the device so it's easy for me to poke at it.