Hi!
Can I reduce the scan time into 100 milliseconds with 0 waiting time?
I tried to do this using setForegroundScanPeriod,
beaconManager.setForegroundScanPeriod(100,0);
But scanning time period doesn’t change. Is there any method to reduce the scanning time period?
No, refer to Javadoc >>> setForegroundScanPeriod
you can only set 200ms.
And btw, smaller values will “eat” your battery.
Out of curiosity, why the need to have the scan interval at 100 ms? Note that beacons can’t broadcast faster than every 100 ms, and taking packet loss into account, the minimal discovery interval that makes sense is ~ 200 ms.
Thanks for the response. I will try it.