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::Alien::Reader::Serial
Implement L<RFID::Alien::Reader|RFID::Alien::Reader> over a serial link

RFID::Alien::Reader::Serial - Implement L<RFID::Alien::Reader|RFID::Alien::Reader> over a serial link


NAME

RFID::Alien::Reader::Serial - Implement RFID::Alien::Reader over a serial link


SYNOPSIS

This class takes a serial port object and implements the Alien RFID protocol over it. It is based on RFID::Reader::Serial, and it takes the same parameters as its constructor. All other parameters are passed along to the set method

An example:


    use Win32::Serialport;

    use RFID::Alien::Reader::Serial;

    $com = Win32::SerialPort->new('COM1')

        or die "Couldn't open COM port 'COM1': $^E\n";

    my $reader = 

      RFID::Alien::Reader::Serial->new(Port => $com,

                                       AntennaSequence => [0,1,2,3])

        or die "Couldn't create reader object\n";

    $reader->set(PersistTime => 0,

                 AcquireMode => 'Inventory') == 0

        or die "Couldn't set reader properties\n";

    my @tags = $reader->readtags();

    foreach my $tag (@tags)

    {

        print "I see tag ",$tag->id,"\n";

    }


DESCRIPTION

This class is built on top of RFID::Alien::Reader, and RFID::Reader::Serial.

Constructor

new

Creates a new object. This constructor accepts all arguments to the constructors for RFID::Alien::Reader and RFID::Reader::Serial, and passes them along to both constructors. Any other settings are intrepeted as parameters to the set method.


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