Bluetooth Scan Failed Exception
Thrown to indicate that scanning was terminated. It may be due to internal bluetooth problem or lack of bluetooth advertisement packets received for too long period of time. (This is a common case in Android N and above where long-running scans are converted into opportunistic scans) Try restarting bluetooth adapter and running scan again.