BLE Scan Timeout

ble
Tags: #<Tag:0x00007fe22b860578>

#1

Hello. I am using four Particle ARGON devices to create an indoor positioning system using BLE. I am able to program one device as central and the other three as peripherals and calculate distances between the beacons and the mobile device. The only problem is that BLE.scan() function takes too long. Its default value is 5 seconds, but I need it to complete the scan more quickly. The documentation says that BLE.setScanTimeout() function should reduce the scan time but it does not seem to be working. If anyone can provide assistance with this, I would greatly appreciate it.

Thank you.


#2

There are some similar issues already reported


There should be a fix in 1.3.1-rc.1