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:
c3476d1
)
push security to javascript
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 27 Jul 2010 20:39:42 +0000
(22:39 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 27 Jul 2010 20:39:42 +0000
(22:39 +0200)
scripts/RFID-JSONP-server.pl
patch
|
blob
|
history
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);