Currently supported readers:
- * 3M 810 - RFID::Biblio::3M810
- * CPR-M02 - RFID::Biblio::CPRM02
- * OpenPCD, The Omnikey CardMan 5121 and 5321 - RFID::Biblio::librfid
+ * 3M 810 - RFID::Biblio::Reader::3M810
+ * CPR-M02 - RFID::Biblio::Reader::CPRM02
+ * OpenPCD, The Omnikey CardMan 5121 and 5321 - RFID::Biblio::Reader::librfid
For status of each implementation see pod documentation inside them.
=cut
-our $VERSION = '0.01';
+our $VERSION = '0.02';
my $debug = 0;
$hash = { 'E000000123456789' => [ 'blk1', 'blk2', ... ] };
-L<RFID::Biblio::3M810> sends tag UID with data payload, so we might expect
+L<RFID::Biblio::Reader::3M810> sends tag UID with data payload, so we might expect
to receive response from other tags from protocol specification,
=head2 write_blocks
=head2 3M 810
-L<RFID::Biblio::3M810>
+L<RFID::Biblio::Reader::3M810>
=head2 CPR-M02
-L<RFID::Biblio::CPRM02>
+L<RFID::Biblio::Reader::CPRM02>
=head2 librfid
-L<RFID::Biblio::librfid>
+L<RFID::Biblio::Reader::librfid>
=head1 AUTHOR
-package RFID::Biblio::3M810;
+package RFID::Biblio::Reader::3M810;
=head1 NAME
-RFID::Biblio::3M810 - support for 3M 810 RFID reader
+RFID::Biblio::Reader::3M810 - support for 3M 810 RFID reader
=head1 DESCRIPTION
-package RFID::Biblio::CPRM02;
+package RFID::Biblio::Reader::CPRM02;
=head1 NAME
-RFID::Biblio::CPRM02 - support for CPR-M02 RFID reader
+RFID::Biblio::Reader::CPRM02 - support for CPR-M02 RFID reader
=head1 DESCRIPTION
-package RFID::Biblio::librfid;
+package RFID::Biblio::Reader::librfid;
use warnings;
use strict;
=head1 NAME
-RFID::Biblio::librfid - execute librfid-tool
+RFID::Biblio::Reader::librfid - execute librfid-tool
=head2 DESCRIPTION
=head2 RFID reader implementations
-L<RFID::Biblio::3M810>
+L<RFID::Biblio::Reader::3M810>
-L<RFID::Biblio::CPRM02>
+L<RFID::Biblio::Reader::CPRM02>
-L<RFID::Biblio::librfid>
+L<RFID::Biblio::Reader::librfid>
use lib 'lib';
BEGIN {
- use_ok( 'RFID::Biblio::3M810' );
+ use_ok( 'RFID::Biblio::Reader::3M810' );
}
-ok( my $o = RFID::Biblio::3M810->new( device => '/dev/ttyUSB0' ), 'new' );
+ok( my $o = RFID::Biblio::Reader::3M810->new( device => '/dev/ttyUSB0' ), 'new' );
ok( my @tags = $o->inventory, 'inventory' );
diag dump @tags;
use lib 'lib';
BEGIN {
- use_ok( 'RFID::Biblio::CPRM02' );
+ use_ok( 'RFID::Biblio::Reader::CPRM02' );
}
-ok( my $o = RFID::Biblio::CPRM02->new( device => '/dev/ttyUSB0' ), 'new' );
+ok( my $o = RFID::Biblio::Reader::CPRM02->new( device => '/dev/ttyUSB0' ), 'new' );
ok( my @tags = $o->inventory, 'inventory' );
use lib 'lib';
BEGIN {
- use_ok( 'RFID::Biblio::librfid' );
+ use_ok( 'RFID::Biblio::Reader::librfid' );
}
-ok( my $o = RFID::Biblio::librfid->new( tool => '/rest/cvs/librfid/utils/librfid-tool' ), 'new' );
+ok( my $o = RFID::Biblio::Reader::librfid->new( tool => '/rest/cvs/librfid/utils/librfid-tool' ), 'new' );
ok( my @tags = $o->inventory, 'inventory' );
diag dump @tags;