Google Bluetooth distance measurement API and watch unlock feature
Google is reportedly working on a new Android feature called Bluetooth Distance Measurement API. This API uses Bluetooth’s Received Signal Strength Indicator (RSSI) to measure the distance between the phone and the connected device. The feature code has already been added to the Android Open Source Project (AOSP) as a Project Mainline module.
The Bluetooth ranging API allows users to know how far a Bluetooth accessory is from their smartphone, making it a useful tool for features like Watch Unlock. Note, however, that this API is not a highly accurate method for measuring distances, but is sufficient for Watch Unlock and other features.
As described by Mishaal Rahman, the watch unlock feature allows the user to access the watch when it is unlocked, worn on the wrist and in close proximity (approximately 1 meter based on Bluetooth RSSI). to unlock your phone. This feature is activated after face/fingerprint recognition fails to unlock the phone.
Bluetooth ranging functionality has been added to AOSP, but this is a non-updatable module in Android 13 and may not be available on devices via future extension SDKs. This also means that the Watch Unlock feature may not use this new framework API. This assumes the API is launched while the Pixel is still on Android 13.
Google has confirmed that it is working on a Watch Unlock feature, but has not announced when it will roll out. Overall, the Bluetooth ranging API and Watch Unlock feature represent an exciting new development in the Android world, offering users more convenience and security when it comes to interacting with their devices and accessories.
sauce 1, source 2, source 3