http://{$hotspotHostname}/login?username={$username}&password={$password}. How exactly do you generate this QR code depends on theĀ .