NAME
RFID::Matrics::Reader::TCP - Implement RFID::Matrics::Reader over a TCP connection
SYNOPSIS
This class takes a host and port to connect to, connects to it, and implements the Matrics RFID protocol over that connection. It is designed to use a serial-to-Ethernet adapter plugged into the serial port of the reader; I tested it with the NPort Express from Moxa.
An example:
use RFID::Matrics::Reader::TCP;
my $reader =
RFID::Matrics::Reader::TCP->new(PeerAddr => 1.2.3.4,
PeerPort => 4001,
Node => 4,
Antenna => MATRICS_ANT_1,
Debug => 1,
Timeout => CMD_TIMEOUT,
)
or die "Couldn't create reader object.\n";
DESCRIPTION
This class is built on top of RFID::Matrics::Reader and RFID::Reader::TCP.
Constructor
new
This constructor accepts all arguments to the constructor for RFID::Reader::TCP. All other parameters are passed along to the set method.
SEE ALSO
RFID::Matrics::Reader, RFID::Reader::TCP, RFID::Matrics::Reader::Serial, http://www.eecs.umich.edu/~wherefid/code/rfid-perl/.
AUTHOR
Scott Gifford <gifford@umich.edu>, <sgifford@suspectclass.com>
Copyright (C) 2004 The Regents of the University of Michigan.
See the file LICENSE included with the distribution for license information.