Android Question [Things] BeaconParser stop scanning for beacon after 30-40mins in Raspberry Pi (Android Things)

Hypnos

Active Member
Licensed User
Longtime User
I am using B4A BeaconParser Class for my android things project on Raspberry PI. I found that BeaconParser stop scanning for beacon after 30-40 mins, anyone have idea? Thanks!
 

Hypnos

Active Member
Licensed User
Longtime User
Try it with this code:
B4X:
Sub Scan
Do While True
   manager.Scan2(Null, True)
   Sleep(60000)
   manager.StopScan
   Sleep(1000)
Loop
End Sub

Make sure to call Scan only once.

Does it continue to scan?

Thank you Erel, it's works!
Finally make something worked on Android Things.

Slide1.JPG

Slide2.JPG

Slide3.JPG
 
Upvote 0
Top