Decreased BLE startScan detected devices on Android 5.0 Lollipop

前端 未结 5 852
伪装坚强ぢ
伪装坚强ぢ 2020-12-25 15:02

Short version:

In my tests with Android 5.0 Lollipop I have noticed android.bluetooth.le.BluetoothLeScanner detects BLE devices less frequently than Android 4.4 KitK

5条回答
  •  既然无缘
    2020-12-25 15:46

    Beyond API 21 android uses SCAN_MODE_LOW_POWER by default. SCAN_MODE_LOW_POWER

    Try SCAN_MODE_BALANCED and see if it gets better.
    SCAN_MODE_BALANCED

提交回复
热议问题