QR/Barcode scan data

Hi UR community,

I am trying to connect a QR scanner that will scan a barcode and/or QR code for a serial number. I aim to somehow get the serial number data into a form of a variable or string inside the UR code which will then send to my computer. Can the QR scanner communicate such data to the polyscope through the SS USB port? Do I have to connect it via Ethernet? If possible I would want to keep the ethernet port open.