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] Cannot not binding #94

Open leo981008 opened 11 months ago

leo981008 commented 11 months ago

I install airpodsdesktop ,but if I push bind to airpods.It will show me "disconnected" image image

MrBeanCpp commented 11 months ago

What's your AirPods model? Is it AirPods Pro 2(USB-C) 2023 ?

leo981008 commented 11 months ago

AirPods 2

MrBeanCpp commented 11 months ago

You may need to pair the airpods with your PC in advance, then take out the aripods from the box and put them on. And unbind in the settings, and try binding again.

leo981008 commented 11 months ago

Thank you, but I tried it.

Lschulzes commented 11 months ago

Same here, logs:

[2023-10-09 17:55:59.905] [Main] [info] [MainWindow.cpp:518] Selected device index: '0', device name: 'AirPods de Klinsman'. Bound to this device.
[2023-10-09 17:55:59.905] [Main] [info] [Settings.cpp:263] Save key succeeded. Key: 'abi_version', Value: 1
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:263] Save key succeeded. Key: 'language_locale', Value: 
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:263] Save key succeeded. Key: 'auto_run', Value: true
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:263] Save key succeeded. Key: 'low_audio_latency', Value: true
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:263] Save key succeeded. Key: 'automatic_ear_detection', Value: true
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:263] Save key succeeded. Key: 'skipped_version', Value: 
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:263] Save key succeeded. Key: 'rssi_min', Value: -80
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:250] Remove deprecated key succeeded. Key: 'reduce_loud_sounds'
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:250] Remove deprecated key succeeded. Key: 'loud_volume_level'
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:267] Save key succeeded. Key: 'device_address', Value: ** MAYBE HAVE VALUE **
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:263] Save key succeeded. Key: 'tray_icon_battery', Value: 2
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:263] Save key succeeded. Key: 'battery_on_taskbar', Value: 2
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:291] ApplyChangedFieldsOnlyWithoutLock
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:295] Changed field: device_address
[2023-10-09 17:55:59.906] [Main] [info] [Settings.cpp:95] OnApply_device_address: ** MAYBE HAVE VALUE **
[2023-10-09 17:55:59.906] [Main] [info] [MainWindow.cpp:298] MainWindow::Bind
[2023-10-09 17:55:59.906] [Main] [info] [MainWindow.cpp:284] MainWindow::Disconnect
[2023-10-09 17:55:59.909] [Main] [info] [AirPods.cpp:182] StateManager: Disconnect.
[2023-10-09 17:55:59.909] [Main] [info] [AirPods.cpp:430] Bind a new device.
[2023-10-09 17:55:59.934] [Main] [info] [AirPods.cpp:465] The device we bound is updated. current: true, new: true
[2023-10-09 17:56:01.991] [Main] [warning] [AirPods.cpp:199] IsPossibleDesiredAdv returns false. Reason: RSSI is less than the limit. curr: '-96' min: '-80'
[2023-10-09 17:56:01.991] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire.
[2023-10-09 17:56:02.549] [Main] [warning] [AirPods.cpp:199] IsPossibleDesiredAdv returns false. Reason: RSSI is less than the limit. curr: '-96' min: '-80'
[2023-10-09 17:56:02.549] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire.
[2023-10-09 17:56:06.663] [Main] [warning] [AirPods.cpp:199] IsPossibleDesiredAdv returns false. Reason: RSSI is less than the limit. curr: '-96' min: '-80'
[2023-10-09 17:56:06.663] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire.
[2023-10-09 17:56:07.218] [Main] [warning] [AirPods.cpp:199] IsPossibleDesiredAdv returns false. Reason: RSSI is less than the limit. curr: '-96' min: '-80'
[2023-10-09 17:56:07.218] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire.
[2023-10-09 17:56:07.591] [Main] [warning] [AirPods.cpp:199] IsPossibleDesiredAdv returns false. Reason: RSSI is less than the limit. curr: '-96' min: '-80'
[2023-10-09 17:56:07.591] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire.
[2023-10-09 17:56:09.652] [Main] [warning] [AirPods.cpp:199] IsPossibleDesiredAdv returns false. Reason: RSSI is less than the limit. curr: '-96' min: '-80'
[2023-10-09 17:56:09.652] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire.
[2023-10-09 17:56:10.031] [Main] [warning] [AirPods.cpp:199] IsPossibleDesiredAdv returns false. Reason: RSSI is less than the limit. curr: '-96' min: '-80'
[2023-10-09 17:56:10.031] [Main] [warning] [AirPods.cpp:170] This adv may not be broadcast from the device we desire.
Lschulzes commented 11 months ago

Hey @leo981008 try changing the Bluetooth maximum receiving range all the way to the left, I tried it and it worked, I realized by looking into the logs that the RSSI "-96" was less than the minimum "-80"

image