Open david-gettins opened 1 year ago
I'll check that soon. Thank you for raising the issue
We are also facing similar issue on our Android 13 devices. Its not connecting with BLE peripherals. Do you have any insight on this? We dont see google is working on it as the issue is open for more than 6 months.
https://issuetracker.google.com/issues/242755161
@philips77 Could you please look into this ?
Any news on this ? Will this be fixed / is this fixed in one of the new releases ?
Sorry, I missed that. I'll come back to you soon.
I would like to be able to press a button in an app and bond with a BLE device. Next time I open the app and reconect the BLE device I would like to see if it is already bonded and hide the button. Unfortuntely the
ObservableBleManager
bondingState
is incorrectly reported asNOT_BONDED
when it actually is bonded.android.bluetooth.BluetoothDevice
shows it as being bonded.To Reproduce
ensureBond().enqueue()
BondState
isNOT_BONDED
butbluetoothDevice.bondState == BluetoothDevice.BOND_BONDED
the Android OS reports it as bonded also.Notes
After bonding for the first time,
BondState
is correct.BondState
is also correct if I remove bond and ensure bond again.