projects
/
Biblio-RFID.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
put cardnumber from SmartX into content
[Biblio-RFID.git]
/
scripts
/
RFID-JSONP-server.pl
diff --git
a/scripts/RFID-JSONP-server.pl
b/scripts/RFID-JSONP-server.pl
index
5baff85
..
974a316
100755
(executable)
--- a/
scripts/RFID-JSONP-server.pl
+++ b/
scripts/RFID-JSONP-server.pl
@@
-141,6
+141,7
@@
sub http_server {
warn "ERROR ", dump($borrower);
} else {
$hash->{borrower} = $borrower->{borrower};
+ $hash->{content} = $borrower->{borrower}->{cardnumber}; # compatibile with 3M tags
}
} else {
$hash->{security} = uc unpack 'H*', $rfid->afi( $tag );