SpriteOvO / AirPodsDesktop

☄️ AirPods desktop user experience enhancement program, for Windows and Linux (WIP)
GNU General Public License v3.0
1.47k stars 87 forks source link

[Bug Report] While using Beats feat pro, connection automatically Stopped and played #99

Closed heckzi closed 10 months ago

heckzi commented 10 months ago

:bug: Describe the bug

First of all my laptop's cpu is AMD 6800U and i don't know if it's matter using this program

i ve been using AirpodsDesktop on my own pc well. but now i wanna use this on my laptop but it doesn't work well. it keeps recognizing my beats fit pro as Airpods2 or smthing. and stopping music and playing continuously.. Also, it displays battery slightly wrong.

i will put the log below.

Thanks for ur contribution to all of airpod user's

:rocket: Expected behavior

A clear and concise description of what you expected to happen.

:framed_picture: Screenshots

If applicable, add screenshots to help explain your problem. image image

:gear: Environments:

:star2: Additional context

AirPodsDesktop.log ``` [2023-10-23 15:47:59.650] [Main] [info] [MainWindow.cpp:251] MainWindow::UpdateState [2023-10-23 15:48:00.474] [Main] [warning] [AirPods.cpp:216] IsPossibleDesiredAdv returns false. Reason: model new='AirPods Pro 2' old='AirPods Pro' [2023-10-23 15:48:00.474] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire. [2023-10-23 15:48:06.975] [Main] [warning] [AirPods.cpp:216] IsPossibleDesiredAdv returns false. Reason: model new='AirPods Pro 2' old='AirPods Pro' [2023-10-23 15:48:06.975] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire. [2023-10-23 15:48:08.593] [Main] [info] [AirPods.cpp:358] StateManager: DoStateReset called. Side: Left [2023-10-23 15:48:12.522] [Main] [info] [MainWindow.cpp:251] MainWindow::UpdateState [2023-10-23 15:48:13.710] [Main] [warning] [AirPods.cpp:199] IsPossibleDesiredAdv returns false. Reason: RSSI is less than the limit. curr: '-102' min: '-100' [2023-10-23 15:48:13.710] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire. [2023-10-23 15:48:14.416] [Main] [warning] [AirPods.cpp:199] IsPossibleDesiredAdv returns false. Reason: RSSI is less than the limit. curr: '-127' min: '-100' [2023-10-23 15:48:14.416] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire. [2023-10-23 15:48:15.249] [Main] [warning] [AirPods.cpp:216] IsPossibleDesiredAdv returns false. Reason: model new='AirPods 2' old='Beats Fit Pro' [2023-10-23 15:48:15.249] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire. [2023-10-23 15:48:16.671] [Main] [info] [MainWindow.cpp:251] MainWindow::UpdateState [2023-10-23 15:48:19.611] [Main] [warning] [AirPods.cpp:216] IsPossibleDesiredAdv returns false. Reason: model new='AirPods Pro 2' old='AirPods Max' [2023-10-23 15:48:19.611] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire. [2023-10-23 15:48:22.523] [Main] [info] [AirPods.cpp:358] StateManager: DoStateReset called. Side: Left [2023-10-23 15:48:23.745] [Main] [warning] [AirPods.cpp:216] IsPossibleDesiredAdv returns false. Reason: model new='AirPods 2' old='Beats Fit Pro' [2023-10-23 15:48:23.745] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire. [2023-10-23 15:48:23.749] [Main] [info] [MainWindow.cpp:251] MainWindow::UpdateState [2023-10-23 15:48:26.352] [Main] [warning] [AirPods.cpp:216] IsPossibleDesiredAdv returns false. Reason: model new='AirPods 2' old='Beats Fit Pro' [2023-10-23 15:48:26.352] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire. [2023-10-23 15:48:30.594] [Main] [info] [MainWindow.cpp:251] MainWindow::UpdateState [2023-10-23 15:48:32.366] [Main] [warning] [AirPods.cpp:216] IsPossibleDesiredAdv returns false. Reason: model new='AirPods 2' old='Beats Fit Pro' [2023-10-23 15:48:32.366] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire. ```
StackTrace.log ``` Insert the contents of "StackTrace.log" here, if any. ```
SpriteOvO commented 10 months ago

This is probably because someone near you is also using AirPods. Due to Apple's privacy design (MAC addresses are Random Non-resolvable), we have no way to reliably determine which AirPods device is really yours.

A workaround for this is to reduce the receiving range, which can ignore advertisement data packets broadcasted far away from your Bluetooth receiver. You can adjust this value in Settings in the tray right-click menu.

In the future, I may add a new option in the binding stage to select your AirPods model, so we can better filter out advertisements emitted from other people's devices.

heckzi commented 10 months ago

Ah! Thanks for the comment :) I totally got it . it's reasonable.

Have a nice day