/[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 92 by dpavlin, Fri Jul 23 13:16:51 2010 UTC revision 93 by dpavlin, Fri Jul 23 13:21:44 2010 UTC
# Line 522  sub write_tag { Line 522  sub write_tag {
522    
523          cmd(          cmd(
524                  "d6 00  ff  04  $tag  00 $blocks 00  $hex_data  BEEF", "write $tag",                  "d6 00  ff  04  $tag  00 $blocks 00  $hex_data  BEEF", "write $tag",
525                  "d6 00  0d  06 00  $tag  $blocks  BEEF", sub { assert(); $ok++ },                  "d6 00  0d  04 00  $tag  $blocks  BEEF", sub { assert(); $ok++ },
526                  "d6 00  0d  04 06  ", sub {                  "d6 00  0d  04 06  ", sub {
527                          my $data = shift;                          my $data = shift;
528                          warn "no tag ",as_hex( substr($data,0,8) ), " in range for write\n";                          warn "no tag ",as_hex( substr($data,0,8) ), " in range for write\n";

Legend:
Removed from v.92  
changed lines
  Added in v.93

  ViewVC Help
Powered by ViewVC 1.1.26