Biblio::RFID::Reader::Serial(3pm)

Biblio::RFID::Reader::Serial3pm

Base class for serial or serial over tcp rfid readers

Methods

new

Open serial port (if needed) and init reader

port

Tries to open usb serial ports "/dev/ttyUSB*" and serial ports "/dev/ttyS*"

  my $serial_obj = $self->port;

To try just one device use "RFID_DEVICE=/dev/ttyUSB1" environment variable

If you want to define serial connection over TCP socket, you have to export enviroment variable "RFID_TCP=hostname:port".

From libbiblio-rfid-perl 0.05-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.