Scroll to navigation

Biblio::RFID(3pm) User Contributed Perl Documentation Biblio::RFID(3pm)

NAME

Biblio::RFID - perl tools to use different RFID readers for library use

DESCRIPTION

Main idea is to develop simple API to reader, and than provide useful abstractions on top of it to quickly write applications to respond on tags which come in range of RFID reader using Biblio::RFID::Reader.

Writing support for new RFID readers should be easy. Biblio::RFID::Reader::API provides documentation on writing support for different readers.

Currently, two serial RFID readers based on Biblio::RFID::Reader::Serial are implemented:

  • Biblio::RFID::Reader::3M810
  • Biblio::RFID::Reader::CPRM02

There is also simple read-only reader using shell commands in Biblio::RFID::Reader::librfid.

For implementing application take a look at Biblio::RFID::Reader

"scripts/RFID-JSONP-server.pl" is example of such application. It's local interface to RFID reader and JSONP REST server.

"examples/koha-rfid.js" is jQuery based JavaScript code which can be inserted in Koha Library System to provide overlay with tags in range and check-in/check-out form-fill functionality.

Applications can use Biblio::RFID::RFID501 which is some kind of semi-standard 3M layout or blocks on RFID tags.

EXPORT

Formatting functions are exported

hex2bytes

  my $bytes = hex2bytes($hex);

as_hex

  print as_hex( $bytes );

hex_tag

  print hex_tag $8bytes;

WARN

We are installing "warn" in perldoc handler to control debug output based on $Biblio::RFID::debug level

HARDWARE SUPPORT

3M 810

Biblio::RFID::Reader::3M810

CPR-M02

Biblio::RFID::Reader::CPRM02

librfid

Biblio::RFID::Reader::librfid

AUTHOR

Dobrica Pavlinusic, "<dpavlin at rot13.org>"

<http://blog.rot13.org/>

BUGS

Please report any bugs or feature requests to "bug-rfid-biblio at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Biblio-RFID>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Biblio::RFID
    perldoc Biblio::RFID::Reader
    perldoc Biblio::RFID::Reader::API

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2010 Dobrica Pavlinusic.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991 or at your option any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License is available in the source tree; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

2023-05-24 perl v5.36.0