Galaxy Buds Protocol¶
The protocol is partially described in this document here in the GalaxyBudsClient project.
The battery values are retrieved based on this python script. There is even a Gnome Shell extension for the buds and it uses the same python script, adding here just for completeness. The most important find is this issue, which describes why the methods used to retrieve the battery levels in the python script are different then those used in the protocol description. The GalaxyBudsClient uses a special debug option to retrieve more data, thus the message_id
s are different then the normal way of doing this. This is not important in Gadgetbridge as we only retrieve the battery values.
RFComm message can be found here.
Command IDs can be found here.