I can still call the scanBleDevices function the first 2 times but the 3rd time nothing happens after that. The function does not return a result or an error.
The steps to run my code are as follows:
I call the function startRangingBeacons and when there are results returned from addRangeNotifier. I stop Beacon scanning with stopRangingBeacons function and removeAllRangeNotifiers.
After stopping the Beacon I called scanBleDevices. Now only the first 2 times my device finds BLE, the 3rd time nothing happens anymore.
Hi! I am developing an application that uses both libraries: https://github.com/AltBeacon/android-beacon-library https://github.com/dariuszseweryn/RxAndroidBle
I can still call the
scanBleDevices
function the first 2 times but the 3rd time nothing happens after that. The function does not return a result or an error. The steps to run my code are as follows:I call the function
startRangingBeacons
and when there are results returned fromaddRangeNotifier
. I stop Beacon scanning withstopRangingBeacons
function andremoveAllRangeNotifiers
.After stopping the Beacon I called
scanBleDevices
. Now only the first 2 times my device finds BLE, the 3rd time nothing happens anymore.Does anyone have a solution for this problem?