In Android 5.x (API 21) and up, we are experiencing a problem with our BluetoothLeScanner, on some Samsung models like S4 Mini and S5 Mini. More precisely, an error is being caught in the onScanFailed(int errorcode) of our ScanCallback, with a value of -99. This value is not mentioned in the class documentation, and we were wondering, if any of you have any idea what this could be, and how we could fix it?
Kind regards Freddy