get data via qrcode