Hypnos Active Member Licensed User Longtime User Jul 23, 2017 #1 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!
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!
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2017 #2 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? Upvote 0
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?
Hypnos Active Member Licensed User Longtime User Jul 25, 2017 #3 Erel said: 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? Click to expand... Thank you Erel, it's works! Finally make something worked on Android Things. Upvote 0
Erel said: 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? Click to expand... Thank you Erel, it's works! Finally make something worked on Android Things.