scan

Starts scanning for Sidewalk devices via Bluetooth.

Scan for devices advertising AMA characteristics conforming to the 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.