Changeset 1985


Ignore:
Timestamp:
04/06/10 23:50:03 (12 years ago)
Author:
alno
Message:

irdeto filter - replaced sa by first 2 bytes of serial, fix bug in CMD05 receive block nano

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-camd35.c

    r1961 r1985  
    516516        reader[ridx].blockemm_g = buf[128];
    517517        reader[ridx].blockemm_s = buf[129];
    518         reader[ridx].blockemm_u = buf[129];
     518        reader[ridx].blockemm_u = buf[130];
    519519        reader[ridx].card_system = buf[131];
    520520        cs_log("CMD05 reader: %s serial: %s cardsyst: %d aucaid: %04X",
  • trunk/reader-irdeto.c

    r1984 r1985  
    342342            filter[1]    = 0x00;
    343343            filter[1+16] = 0x2F; // 0x00 to 0xD0
    344             //filter[1]    = 0xD0;
    345             //filter[1+16] = 0xFF;
    346344            break;
    347345        case SHARED:
     
    350348            filter[1]    = 0xD2;
    351349            filter[1+16] = 0xFF;
    352             filter[2]    = rdr->sa[0][0];
    353             filter[2+16] = 0xFF;
    354             filter[3]    = rdr->sa[0][1];
    355             filter[3+16] = 0xFF;
     350            memcpy(filter+2, rdr->hexserial, 2);
     351            memset(filter+2+16, 0xFF, 2);
    356352            break;
    357353        case UNIQUE:
Note: See TracChangeset for help on using the changeset viewer.