You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a bit of research and thanks to @m1ga I found out that in ScanManagerAPI21Onwards.java there is a hardcoded setting that can be useful: scanBuilder.setScanMode(ScanSettings.SCAN_MODE_LOW_POWER);
In fact this prevent the module sto scan for beacon at maximum effort so I modified it in: scanBuilder.setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY);
And now it's much better, maybe you can expose the settings.
After a bit of research and thanks to @m1ga I found out that in ScanManagerAPI21Onwards.java there is a hardcoded setting that can be useful:
scanBuilder.setScanMode(ScanSettings.SCAN_MODE_LOW_POWER);
In fact this prevent the module sto scan for beacon at maximum effort so I modified it in:
scanBuilder.setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY);
And now it's much better, maybe you can expose the settings.
Ref:
https://developer.android.com/reference/android/bluetooth/le/ScanSettings#SCAN_MODE_LOW_LATENCY
The text was updated successfully, but these errors were encountered: