scan

Starts scanning for Amazon Sidewalk devices via Bluetooth.

Scan for devices advertising AMA characteristics conforming to the Amazon Sidewalk protocol. Only one scan can be in operation at a time. Additional calls will restart scanning.

Return

a flow of SidewalkResult, which encapsulates SidewalkDevice for success or Throwable for failure.