Closed wkk199 closed 6 months ago
Second, after about 4 minutes of searching, onScanResults won't return any results
check permissions
handle onError for scanResults
and give your logs
That is, when I click stopScan() and startScan() repeatedly, the isScanning state is true, but the searched device is empty @chipweinberger
https://github.com/boskokg/flutter_blue_plus/assets/76580696/8bac09c4-1fd0-41e4-8a75-9c0333dc1f0e
1.These are my steps @chipweinberger
handle onError
you can only scan 6 times per minute on android
处理错误
在 Android 上每分钟只能扫描 6 次
I tried to make sure that the scan will not continue if it is larger than 6 times, but onError also did not execute, I change if I handle this problem, I can continue scanning. Is it possible to remove the 6 times limit? @chipweinberger
not possible to remove limit
@chipweinberger
无法取消限制
ok,thank you
Requirements
Have you checked this problem on the example app?
Yes
FlutterBluePlus Version
1.32.7
Flutter Version
3.19.6
What OS?
Android
OS Version
Android 13
Bluetooth Module
esp32
What is your problem?
My mundane calls to startScan and stopScan ended up with an empty onScanResults callback
Logs