projects
/
Biblio-RFID.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make to_hash top-level function
[Biblio-RFID.git]
/
lib
/
Biblio
/
RFID
/
Reader
/
librfid.pm
diff --git
a/lib/Biblio/RFID/Reader/librfid.pm
b/lib/Biblio/RFID/Reader/librfid.pm
index
ebb45b9
..
40005f7
100644
(file)
--- a/
lib/Biblio/RFID/Reader/librfid.pm
+++ b/
lib/Biblio/RFID/Reader/librfid.pm
@@
-80,6
+80,11
@@
sub inventory {
return @tags;
}
+sub tag_type {
+ my ( $self, $tag ) = @_;
+ return $sid_iso->{$tag} =~ m/15693/ ? 'RFID501' : 'SmartX';
+}
+
our $mifare_keys;
sub read_mifare_keys {
my $key_path = $0;