projects
/
Biblio-RFID.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
push security to javascript
[Biblio-RFID.git]
/
scripts
/
RFID-JSONP-server.pl
diff --git
a/scripts/RFID-JSONP-server.pl
b/scripts/RFID-JSONP-server.pl
index
0b4bd3d
..
a904515
100755
(executable)
--- a/
scripts/RFID-JSONP-server.pl
+++ b/
scripts/RFID-JSONP-server.pl
@@
-75,6
+75,7
@@
sub http_server {
foreach my $tag ( keys %$tags ) {
my $hash = RFID::Serial::Decode::RFID501->to_hash( $tags->{$tag} );
$hash->{sid} = $tag;
+ $hash->{security} = $rfid->read_afi( $tag );
push @{ $json->{tags} }, $hash;
};
warn "#### ", encode_json($json);