mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
AirPods Gen4 emit a one-off type 0x07 frame from their identity address on connect whose payload prefix is 0x07 instead of 0x01. Its bytes are not the plaintext status format, but the model bytes happen to match, so it minted a fresh device tracker and showed as a duplicate device card until the stale timeout. Every known plaintext status broadcast (including pairing mode) uses prefix 0x01; pairing state lives in the suffix byte. Reject anything else at the decoder, logging the dropped frame's hex. Fixes #603