/[RFID]/3m-810.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /3m-810.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by dpavlin, Mon Apr 6 15:19:24 2009 UTC revision 32 by dpavlin, Mon Apr 6 21:28:02 2009 UTC
# Line 268  sub read_tag { Line 268  sub read_tag {
268                  }                  }
269          );          );
270    
271            my $data = $tags_data->{$tag} || die "no data for $tag";
272            my ( $u1, $set_item, $u2, $type, $content, $br_lib, $custom ) = unpack('C4Z16Nl>',$data);
273            my $set   = ( $set_item & 0xf0 ) >> 4;
274            my $total = ( $set_item & 0x0f );
275            my $branch  = $br_lib >> 20;
276            my $library = $br_lib & 0x000fffff;
277            print "TAG $tag [$u1] set: $set/$total [$u2] type: $type '$content' branch: $branch library: $library custom: $custom\n";
278    
279  }  }
280    
281  sub write_tag {  sub write_tag {

Legend:
Removed from v.31  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26