Replies: 4 comments
-
|
It's not great, but that's the best we can do. CAPod uses a heuristic based on signal strength to determine which are "yours". The Bluetooth address send by the AirPods is randomized and can't be used to determine which are yours. The name is also not part of the BLE broadcast that contains the information like battery status etc. Just doing the best we can with what is available. Direct access like Apple does it on iPhones, is not possible on Android's Bluetooth stack as far as I know. |
Beta Was this translation helpful? Give feedback.
-
|
I understand, but there are 2 problems.
Additionally, I use Tasker to play music when connected to my AirPods, and it has worked fine so far using the MAC address to identify the device. Could this method be a potential solution, or I wasn't using this method long enough to encounter the problem you've mentioned? |
Beta Was this translation helpful? Give feedback.
-
No There are two ways AirPods offer information:
The following information like
is not available through method 1 because Android does not support it.
Doesn't have a good solution, I already did everything I could think off to reduce false positives
Here we could maybe change the code so it does not execute any reactions if there are no AirPods connected to your phone 🤔 |
Beta Was this translation helpful? Give feedback.
-
This should already be the case. We get only continue if there is a headset device connected: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Device: Galaxy S22+ with Airpods 2
The application may not be utilizing the device address or is solely dependent on the device name, "AirPods".
I am in a location with a numerous AirPods nearby.
It displays other devices that are not owned by the user as "mine", despite the "Show all devices" feature being disabled.
Consequently, the auto-play and auto-pause functions are triggered and plays/stops music even when no devices are connected.
Beta Was this translation helpful? Give feedback.
All reactions