Challenge
Scans find nothing on Android 12 and later because the app never asked for the new Bluetooth permissions.
Agnotic approach
Declare BLUETOOTH_SCAN and BLUETOOTH_CONNECT, ask for them in context, and set neverForLocation when the app does not use scans for location.





