mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-15 02:36:12 -04:00
This commit enhances the test coverage for `AirPodsProTest` by: - Verifying the hex representation of the public payload data. - Confirming that the private payload is null when no IRK/EncKey is set. - Verifying the hex representation of the private payload data when IRK/EncKey are set. Additionally, a fix is introduced in `AppleFactory.kt` to correctly parse the public payload by taking only the first 9 bytes instead of 16. This ensures that the private payload is only processed if the incoming message length matches the expected `PAIRING_MESSAGE_LENGTH`.