NAME
RFID::Alien::Reader::TCP - Implement RFID::Alien::Reader over a TCP connection
SYNOPSIS
This class takes a host and port to connect to, connects to it, and implements the Alien RFID protocol over that connection. It can use the reader's builting TCP service, or a serial-to-Ethernet adapter plugged into the serial port of the reader; I tested it with both.
DESCRIPTION
This class is built on top of RFID::Alien::Reader and IO::Socket::INET, and implements the underlying setup, reading, and writing functions.
Currently, the Timeout parameter isn't handled properly for commands (but it is for initiating the connection).
Constructor
new
This constructor accepts all arguments to the constructor for IO::Socket::INET, and passes them along to both constructors. Any other settings are intrepeted as parameters to the set method.
SEE ALSO
RFID::Alien::Reader, RFID::Alien::Reader::Serial, IO::Socket::INET.
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.
1;