BLE Scanning - Blocking Operation

Ages ago I wrote an app for an Argon (or may have been a Redbear DUO) that scanned BLE devices and logged them. The scan with callback was non-blocking / asynchronous. It now appears the calls to scan are synchronous. Is there any way to implement a background scanner with the current OS?

BLE.scan is always blocking, but you should be able to run it from a worker thread.

That works, thanks. -AP

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.