Closed mgoyenavitio closed 1 year ago
Hello, sorry for replying so late.
The library only starts or stops scans when it needs to (when switching to a bootloader). It cannot stop another scan, initiated by some other part of your app.
It must be either your app or the system.
DFU Bootloader version (please complete the following information):
Device information (please complete the following information):
Your question
When we try to do a DFU Update on a device that doesn't support DFU the error stops scanning of BLE adapter. It does it a few seconds after and without any reason. In case of another error or when DFU is completed with success the scan doesn't stop. It seems that the scan is stopped before the DFUService is destroyed and in this case it does it afterwards. This a problem for us because just after the error we start scan, which you are stopping again by yourself.
Logs
Here there are logs also from my APP. As you can see at the end, 8 seconds after it stops scan: