Biblio::RFID::Reader(3pm)

NAME
Biblio::RFID::Reader - simple way to write RFID applications in perl

DESCRIPTION
This module will probe all available readers and use calls from Biblio::RFID::Reader::API to invoke correct reader.

FUNCTIONS

  new
  my $rfid = Biblio::RFID::Reader->new( 'optional reader filter' );

  tags
  my @visible = $rfid->tags(
                enter => sub { my $tag = shift; },
                leave => sub { my $tag = shift; },
                reader => sub { my $reader = shift; ref($reader) =~ m/something/ },
  );

  blocks
  my $blocks_arrayref = $rfid->blocks( $tag );

  afi
  my $afi = $rfid->afi( $tag );

  to_hash
  $self->to_hash( $tag );

  debug
  $self->debug(1); # or more

  from_reader
  my $reader = $self->from_reader( $tag );

PRIVATE

  _invalidate_tag
  $rfid->_invalidate_tag( $tag );

  _available
Probe each RFID reader supported and returns succefull ones

  my $rfid_readers = Biblio::RFID::Reader->_available( $regex_filter );

AUTOLOAD
On any other function calls, we just marshall to all readers

SEE ALSO

  RFID reader implementations
Biblio::RFID::Reader::3M810

Biblio::RFID::Reader::CPRM02

Biblio::RFID::Reader::librfid