projects
/
Biblio-RFID.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't populate (fake) security for SmartX
[Biblio-RFID.git]
/
scripts
/
RFID-JSONP-server.pl
diff --git
a/scripts/RFID-JSONP-server.pl
b/scripts/RFID-JSONP-server.pl
index
dda08c8
..
1c46405
100755
(executable)
--- a/
scripts/RFID-JSONP-server.pl
+++ b/
scripts/RFID-JSONP-server.pl
@@
-99,7
+99,7
@@
sub http_server {
foreach my $tag ( @tags ) {
my $hash = $rfid->to_hash( $tag );
$hash->{sid} = $tag;
foreach my $tag ( @tags ) {
my $hash = $rfid->to_hash( $tag );
$hash->{sid} = $tag;
- $hash->{security} = uc unpack 'H*', $rfid->afi( $tag );
+ $hash->{security} = uc unpack 'H*', $rfid->afi( $tag )
if $hash->{tag_type} ne 'SmartX'
;
push @{ $json->{tags} }, $hash;
};
warn "#### ", encode_json($json);
push @{ $json->{tags} }, $hash;
};
warn "#### ", encode_json($json);