logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Autoload

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

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 );

Name

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

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 );

See Also

RFIDreaderimplementations
       Biblio::RFID::Reader::3M810

       Biblio::RFID::Reader::CPRM02

       Biblio::RFID::Reader::librfid

perl v5.36.0                                       2023-05-24                          Biblio::RFID::Reader(3pm)

See Also