How to change BLE Scan Interval & Window For Android

How can we change BLE Scan Interval & Window in Android to scan the nearby BLE beacon?

The android app doesn't scans in low latency mode in some devices.

I need to set Scanning Interval & Window to lower rates.

Thanks.

Parents
  • Hello,

    The android app doesn't scans in low latency mode in some devices.

    Are you working with nRF connect mobile Application? If so, could you elaborate what you mean by "some devices"?

    In the nRF connect mobile App if you go to the Settings-->Scanner you can see the Scanning mode.

    If you are trying to develop your own App and want to implement the Low latency scanning mode then it's better to raise this question in an Android developer Forum, as an android Expert can comment on this. May be you can start by looking at the StartScan method.

    Kind Regards,

    Abhijith

  • Hi,

    I have tested it in nRF Connect application.

    The beacon (hardware) has very low scan interval and scan window, approx. 10ms.

    The nRF Connect application on some devices (Mi, OnePlus) misses the beacon advertisement/packet during scan time in Low Latency Scanning Mode.

    But works fine with Samsung, iPhone and other high-end devices in low latency mode. Same problem also arises with self-developed application too.

    So is there a way that I can change scan interval and scan window of the mobile device? Or do I need to change the firmware of the beacon itself?

    Thanks,

    Kunal

Reply
  • Hi,

    I have tested it in nRF Connect application.

    The beacon (hardware) has very low scan interval and scan window, approx. 10ms.

    The nRF Connect application on some devices (Mi, OnePlus) misses the beacon advertisement/packet during scan time in Low Latency Scanning Mode.

    But works fine with Samsung, iPhone and other high-end devices in low latency mode. Same problem also arises with self-developed application too.

    So is there a way that I can change scan interval and scan window of the mobile device? Or do I need to change the firmware of the beacon itself?

    Thanks,

    Kunal

Children
Related