For the specific application, I need to keep the android bluetooth scanning the LE devices but I find it will stops itself without any logging in some devices. My sample code is as follows:
mBluetoothLeScanner.startScan(null, mScanSettings, leScanCallback);
I'm sure I never call
mBluetoothLeScanner.stopScan(leScanCallback)
So that I try to look into the "btsnoop_hci.log". I find the controller didn't send the broadcast message to host in a period of time, perhaps 5 minutes or 10 more minutes. In this example, it stops at 864.833537 seconds. Did anyone help me to solve this issue?