Changeset 444
- Timestamp:
- 09/24/09 00:34:44 (15 years ago)
- Location:
- branches/merlin/csctapi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/merlin/csctapi/atr.c
r440 r444 42 42 */ 43 43 44 // unsigned atr_f_table[16] = { 0, 372, 558, 744, 1116, 1488, 1860, 0, 0, 512, 768, 1024, 1536, 2048, 0, 0 }; 45 unsigned atr_f_table[16] = {372,372,558,744,1116,1488,1860,0,0,512,768,1024,1536,2048,0,0}; 44 unsigned atr_f_table[16] = { 0, 372, 558, 744, 1116, 1488, 1860, 0, 0, 512, 768, 1024, 1536, 2048, 0, 0 }; 46 45 47 46 double atr_d_table[16] = { 0, 1, 2, 4, 8, 16, 0, 0, 0, 0, 0.5, 0.25, 125, 0.0625, 0.03125, 0.015625 }; -
branches/merlin/csctapi/ifd_towitoko.c
r443 r444 196 196 197 197 // set smartreader+ default values 198 // use the frequency to get F for the smartreader 199 // to make sure the ATR is sent at 9600. 200 sr_config.F=io->frequency/9600; 198 // for Irdeto card, the Frequency is 6.00MHz and the F parameter need to be set to 558 199 // test have shown that an irdeto card still reply to an ATR at 9600 with a Freq of 3.5712 MHz 200 // we need to do more test to see if this work with irdeto cards so I'm reverting my changes 201 // to use the original default smartreader+ values 202 sr_config.F=372; 201 203 sr_config.D=1.0; 202 sr_config.fs= io->frequency;204 sr_config.fs=3571200; 203 205 sr_config.N=0; 204 206 sr_config.T=0; -
branches/merlin/csctapi/io_serial.c
r443 r444 292 292 293 293 // set smartreader+ default values 294 // use the frequency to get F for the smartreader 295 // to make sure the ATR is sent at 9600. 296 sr_config->F=io->frequency/9600; 294 // for Irdeto card, the Frequency is 6.00MHz and the F parameter need to be set to 558 295 // test have shown that an irdeto card still reply to an ATR at 9600 with a Freq of 3.5712 MHz 296 // we need to do more test to see if this work with irdeto cards so I'm reverting my changes 297 // to use the original default smartreader+ values 298 sr_config->F=372; 297 299 sr_config->D=1.0; 298 sr_config->fs= io->frequency;300 sr_config->fs=3571200; 299 301 sr_config->N=0; 300 302 sr_config->T=0; 301 303 sr_config->inv=0; 302 304 303 305 IO_Serial_SetPropertiesCache(io, props, sr_config); 304 306
Note:
See TracChangeset
for help on using the changeset viewer.