Open super0610 opened 4 years ago
Maybe because the Beacon's broadcasting interval is set to be large, if the scanning duration is less than the broadcasting interval, the APP will not be able to scan the device.You can connect the device to view the slot Settings for the broadcast interval
When I log Scanned Device in Android studio, a beacon is scanned again in 500ms, and mostly 1sec, but sometimes beacon is not scanned for 5 sec.
It is recommended that you use the nRF Connect of Nodic to test the time interval between the Beacon being scanned. If it sometimes appears, it may be the problem of the Beacon.
Got it, Thanks. I will try
Hello, I am making one Android app based on this repo.
I am scanning Beacons every 4 seconds, and process scanned beacons on onStopScan().
This process is repeated every 5 seconds (by timer, 4 second for scanning, 1 sec for processing). I have a few MokoSmart Beacons, but the issue is sometimes no beacons are detected during Scan.
Please help, what is the issue?
startScan function is called every 5 sec, and SCAN_DURATION = 4 * 1000;
Sometimes, beacons are not detected for Scan duration. If i increase scan time to 6 seconds, it almost work but issue is happened rarely.
Please let me know what is wrong.
Scan duration (4 sec) is requirements, and we are trying to use Moko Beacon first. this is MVP app.