barcode
Barcode Scanner
Barcode scanner is either a Honeywell N5680 connected via serial, or a CODE CR8200. The nx application will apparently translate some Honeywell responses to Code responses, depending on hardware.
https://codecorp.com/products/code-reader-8200/
The barcode scanner is on /dev/ttyUSB0 at 115200 8n1, and is programmed by default to output just the QR code over serial with no CRLF. Setup scripts create /dev/ttyS5 as a link to /dev/ttyUSB0.
stty -F /dev/ttyUSB0 115200 cs8 -cstopb -parenb -ixon will set up the serial port with the correct parameters. If you have the CODE CR8200, echo -e "CDOPPMD0\r\n" > /dev/ttyUSB0 will disable the lights as well as code scanning.
barcode.txt · Last modified: by benjamin
