the requirement is to create a chrome application to obtain the serial port of the system, and to obtain the data string through javascript when the reader swipes the card.
now the serial port list has been obtained.
has a serial port of the card reader. You need to obtain the data after swiping the card.