asi.stopScanning()
Stops scanning for ASI ports. Also resets the list of reported ports. Calling asi.startScanning() again will report all available ports once more.
Introduced in platform.apiLevel = '2.7'.