Scroll to navigation

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

NAME

Biblio::RFID::Reader::librfid - execute librfid-tool

DESCRIPTION

This is wrapper around "librfid-tool" from

<http://openmrtd.org/projects/librfid/>

Due to limitation of librfid-tool only "inventory" in Biblio::RFID::Reader::API and "read_blocks" in Biblio::RFID::Reader::API is supported.

This version uses modidified "librfid-tool" which supports new "-s" flag which reads sectors 0-3 with "-k" key and sectors 4-7 with key from "-s" option.

However, this code might provide template for integration with any command-line utilities for different RFID readers.

Currently tested with only with Omnikey CardMan 5321 which has problems. After a while it stops responding to commands by "librfid-tool" so I provided small C program to reset it:

"examples/usbreset.c"

2023-05-24 perl v5.36.0