projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a14ea0f
)
decode tag data
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 29 Jul 2010 13:33:28 +0000
(15:33 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 29 Jul 2010 13:33:28 +0000
(15:33 +0200)
scripts/scan.pl
patch
|
blob
|
history
diff --git
a/scripts/scan.pl
b/scripts/scan.pl
index
122024c
..
91a1157
100755
(executable)
--- a/
scripts/scan.pl
+++ b/
scripts/scan.pl
@@
-7,6
+7,7
@@
use Data::Dump qw(dump);
use Getopt::Long;
use lib 'lib';
use RFID::Biblio::Readers;
+use RFID::Biblio::RFID501;
my $loop = 0;
my $only;
@@
-23,7
+24,7
@@
do {
my $visible = $rfid->scan;
foreach my $tag ( keys %$visible ) {
warn "XXX $tag";
- print ref($rfid),"\t$tag\t",
join('', @{ $visible->{$tag} }
), $/;
+ print ref($rfid),"\t$tag\t",
dump( RFID::Biblio::RFID501->to_hash( join('', @{ $visible->{$tag} }) )
), $/;
}
}