onScan

fun onScan()

This method is used to start the wifi scan.