ScanResults – An Iterator over BLE scanning results

Iterates over advertising data received while scanning. This object is always created by a _bleio.Adapter: it has no user-visible constructor.

class _bleio.ScanResults

Cannot be instantiated directly. Use _bleio.Adapter.start_scan.

__iter__()

Returns itself since it is the iterator.

__next__()

Returns the next _bleio.ScanEntry. Blocks if none have been received and scanning is still active. Raises StopIteration if scanning is finished and no other results are available.