BluetoothLearn-completed peripheral devices found logic