[GH-ISSUE #102] Toggle case charging sounds not working #39

Open
opened 2026-03-02 12:02:52 +03:00 by kerem · 7 comments
Owner

Originally created by @tim-gromeyer on GitHub (Apr 17, 2025).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/102

Sending the packets does nothing, no matter the state of the airpods. Even if both are in case and connected.

Are you sure the packages are correct?

Originally created by @tim-gromeyer on GitHub (Apr 17, 2025). Original GitHub issue: https://github.com/kavishdevar/librepods/issues/102 Sending the packets does nothing, no matter the state of the airpods. Even if both are in case and connected. Are you sure the packages are correct?
Author
Owner

@kavishdevar commented on GitHub (Apr 17, 2025):

This is supposed to be sent to the case GATT server. And it's not exactly this packet as is, but a value to write to a characteristic. Thus GATT is on the case, not the AirPods, and we need to authenticate as “owner” with the case (idk how)

<!-- gh-comment-id:2813307545 --> @kavishdevar commented on GitHub (Apr 17, 2025): This is supposed to be sent to the case GATT server. And it's not exactly this packet as is, but a value to write to a characteristic. Thus GATT is on the case, not the AirPods, and we need to authenticate as “owner” with the case (idk how)
Author
Owner

@kavishdevar commented on GitHub (Apr 17, 2025):

see also #20

<!-- gh-comment-id:2813333534 --> @kavishdevar commented on GitHub (Apr 17, 2025): see also #20
Author
Owner

@tim-gromeyer commented on GitHub (Apr 17, 2025):

I think un 1 of the packages the airpods send are information about the gatt server

<!-- gh-comment-id:2813804151 --> @tim-gromeyer commented on GitHub (Apr 17, 2025): I think un 1 of the packages the airpods send are information about the gatt server
Author
Owner

@kavishdevar commented on GitHub (Apr 22, 2025):

ooh, could you please drop it here, the packet? And the info you might have about it? I'd love to have a look!

<!-- gh-comment-id:2819926970 --> @kavishdevar commented on GitHub (Apr 22, 2025): ooh, could you please drop it here, the packet? And the info you might have about it? I'd love to have a look!
Author
Owner

@kavishdevar commented on GitHub (Apr 23, 2025):

@tim-gromeyer

<!-- gh-comment-id:2824819635 --> @kavishdevar commented on GitHub (Apr 23, 2025): @tim-gromeyer
Author
Owner

@tim-gromeyer commented on GitHub (Apr 23, 2025):

Nevermind, it's more likely a HID/Configuration Descriptor

04000400170000001000d401081110012acd03080e12c803d30000000c0000810800000956656e646f72494440000004ac0500000000000002000009425202004000000401000000000000000a0000094c6f636174696f6e49440200400000040100000000000000100000094163636573736f7279536572766963650a0000096465766d6f74696f6e3602000d0000094d61785265706f727453697a6501000040000004bf000000000000000a00000950726f7455706461746502004000000401000000000000000c00000953657269616c4e756d6265720c0000094833504c5748444a32364b3004000009434647231400000958323239302f4d504d502f4d585843312f2a2f2a0f00000950726f746563746564416363657373030100000b130000095072696d61727956656e646f7255736167657303400000040d000cff00000000110000094832485472616e73666f726d6174696f6e0100000800000a104816ebaea2332d100000095265706f727444657363726970746f726000008a060cff0911a1010600ff0923a10085010615ff0904950175408102060cff090d76b00581028502090e8102c0850105200a0e037520b10285020a1b03b1020615ff0a01008503b102850405200a1a03b10285ff0615ff0a2000750895e0b102c0
  • Likely a HID (Human Interface Device) descriptor or GATT report map.
  • Contains references to:
    • VendorID, LocationID, SerialNumber.
    • AccessoryService (Apple-specific GATT service).
    • MaxReportSize, ProtectedAccess (security flags).
    • HID usage pages (e.g., 0xff09 = vendor-defined).

Hypothesis: This configures input reports (e.g., touch controls, accelerometer data).

<!-- gh-comment-id:2825460291 --> @tim-gromeyer commented on GitHub (Apr 23, 2025): Nevermind, it's more likely a HID/Configuration Descriptor ``` 04000400170000001000d401081110012acd03080e12c803d30000000c0000810800000956656e646f72494440000004ac0500000000000002000009425202004000000401000000000000000a0000094c6f636174696f6e49440200400000040100000000000000100000094163636573736f7279536572766963650a0000096465766d6f74696f6e3602000d0000094d61785265706f727453697a6501000040000004bf000000000000000a00000950726f7455706461746502004000000401000000000000000c00000953657269616c4e756d6265720c0000094833504c5748444a32364b3004000009434647231400000958323239302f4d504d502f4d585843312f2a2f2a0f00000950726f746563746564416363657373030100000b130000095072696d61727956656e646f7255736167657303400000040d000cff00000000110000094832485472616e73666f726d6174696f6e0100000800000a104816ebaea2332d100000095265706f727444657363726970746f726000008a060cff0911a1010600ff0923a10085010615ff0904950175408102060cff090d76b00581028502090e8102c0850105200a0e037520b10285020a1b03b1020615ff0a01008503b102850405200a1a03b10285ff0615ff0a2000750895e0b102c0 ``` - Likely a **HID (Human Interface Device) descriptor** or **GATT report map**. - Contains references to: - `VendorID`, `LocationID`, `SerialNumber`. - `AccessoryService` (Apple-specific GATT service). - `MaxReportSize`, `ProtectedAccess` (security flags). - **HID usage pages** (e.g., `0xff09` = vendor-defined). **Hypothesis**: This configures **input reports** (e.g., touch controls, accelerometer data).
Author
Owner

@kavishdevar commented on GitHub (Jul 10, 2025):

We need to understand how an idevice first authenticates with the AirPods case.

<!-- gh-comment-id:3058319256 --> @kavishdevar commented on GitHub (Jul 10, 2025): We need to understand how an idevice first authenticates with the AirPods case.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librepods#39
No description provided.