Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

RFID::Reader::Serial
Abstract base class for readers implemented over a serial connection.

RFID::Reader::Serial - Abstract base class for readers implemented over a serial connection.


NAME

RFID::Reader::Serial - Abstract base class for readers implemented over a serial connection.


SYNOPSIS

This is an abstract base class used for building an RFID Reader class implemented over a TCP connection. It provides the basic I/O methods that an object based on RFID::Reader will expect, and generally a reader based on this class will simply inherit from it and add a few details. In other words, this class is fairly complete, and you shouldn't have to add much to it to make it workable.


DESCRIPTION

new

This constructor accepts its parameters as a hash. Any unrecognized arguments are intrepeted as parameters to the set method.

The following parameters are accepted:

Port
The serial port object that communication should take place over. The object should be compatible with Win32::SerialPort; the Unix equivalent is Device::SerialPort. You are responsible for creating the serial port object.

Timeout
The maximum time to wait for a response from the reader, in seconds.

Baudrate
An integer specifying the speed at which communication should take place.


SEE ALSO

the RFID::Reader manpage, the RFID::Reader::Serial manpage, the Win32::SerialPort manpage, the Device::SerialPort manpage.


AUTHOR

Scott Gifford <gifford@umich.edu>, <sgifford@suspectclass.com>

Copyright (C) 2004-2006 The Regents of the University of Michigan.

See the file LICENSE included with the distribution for license information.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy