Connects to wifi/hotspot with a given qr code.