scanForUnprovisionedNodes method

Stream<DiscoveredDevice> scanForUnprovisionedNodes()

Will scan for unprovisioned nodes.

Returns a Stream of DiscoveredDevice.

To stop the scan, make sure to cancel any subscription to this Stream.

Throws an UnsupportedError if the current OS is not supported.

Implementation

Stream<DiscoveredDevice> scanForUnprovisionedNodes() => _bleScanner.scanForUnprovisionedNodes();