Changeset 1635 for trunk/reader-dre.c


Ignore:
Timestamp:
Feb 20, 2010, 10:41:37 PM (10 years ago)
Author:
landlord
Message:

Fill init_history with useful entitlement info for dre, seca and videoguard2 card reader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/reader-dre.c

    r1399 r1635  
    106106
    107107    if (pbm[0] == 0xff)
    108       cs_log ("[dre-reader] no active packages");
     108      cs_ri_log ("[dre-reader] no active packages");
    109109    else
    110110      for (i = 0; i < 32; i++)
     
    129129      int endmonth = temp->tm_mon + 1;
    130130      int endday = temp->tm_mday;
    131       cs_log ("[dre-reader] active package %i valid from %04i/%02i/%02i to %04i/%02i/%02i", i, startyear, startmonth, startday,
     131      cs_ri_log ("[dre-reader] active package %i valid from %04i/%02i/%02i to %04i/%02i/%02i", i, startyear, startmonth, startday,
    132132          endyear, endmonth, endday);
    133133    }
     
    233233
    234234  //cs_ri_log("[dre-reader] type: DRE Crypt, caid: %04X, serial: %llu, card: v%x",
    235   cs_log ("[dre-reader] type: DRE Crypt, caid: %04X, serial: %s, dre id: %i%i%i%08i, geocode %i, card: %s v%i.%i",
     235  cs_ri_log ("[dre-reader] type: DRE Crypt, caid: %04X, serial: %s, dre id: %i%i%i%08i, geocode %i, card: %s v%i.%i",
    236236      reader[ridx].caid[0], cs_hexdump (0, reader[ridx].hexserial + 2, 4), dre_chksum, provider - 16,
    237237      major_version + 1, low_dre_id, geocode, card, major_version, minor_version);
    238   cs_log ("[dre-reader] Provider name:%s.", provname);
     238  cs_ri_log ("[dre-reader] Provider name:%s.", provname);
    239239
    240240
     
    242242  memcpy (reader[ridx].sa[0], reader[ridx].hexserial + 2, 1);   //copy first byte of unique address also in shared address, because we dont know what it is...
    243243
    244   cs_log ("[dre-reader] SA = %02X%02X%02X%02X, UA = %s", reader[ridx].sa[0][0], reader[ridx].sa[0][1], reader[ridx].sa[0][2],
     244  cs_ri_log ("[dre-reader] SA = %02X%02X%02X%02X, UA = %s", reader[ridx].sa[0][0], reader[ridx].sa[0][1], reader[ridx].sa[0][2],
    245245      reader[ridx].sa[0][3], cs_hexdump (0, reader[ridx].hexserial + 2, 4));
    246246
Note: See TracChangeset for help on using the changeset viewer.