mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
This commit refines the logic for selecting the main Pod device. Previously, the `RPAChecker` was used directly to verify the Identity Resolving Key (IRK). The new approach leverages the `isIRKMatch` flag within the `ApplePods` class. This flag is set during the device parsing process, indicating whether the device's address matches the configured IRK. This change: - Simplifies the `PodMonitor` by removing the direct dependency on `RPAChecker`. - Encapsulates the IRK matching logic within the `ApplePods` class, improving modularity. - Ensures that the main device selection correctly prioritizes devices whose IRK has been matched.