L<http://openmrtd.org/projects/librfid/>
-=head2 SYOPSYS
-
+Due to limitation of C<librfid-tool> only C<inventory> and
+C<read_blocks> is supported.
+However, this code might provide template for integration
+with any command-line utilities for different RFID readers.
=cut
sub init {
my $self = shift;
- warn "# no $bin found\n" if ! -e $bin;
+ if ( -e $bin ) {
+ warn "# using $bin";
+ return 1;
+ } else {
+ warn "# no $bin found\n";
+ return 0;
+ }
}
sub _grep_tool {
}
-sub _cleanup_sid {
-}
-
sub inventory {
my @tags;