Changeset 7701
- Timestamp:
- 10/12/12 22:15:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/ifd_sci.c
r7700 r7701 128 128 129 129 while(n<atrlength){ 130 if (IO_Serial_Read(reader, timeout, 1, buf+n) && (n != atrlength-1)) return ERROR; // ppcold always returns timeout on last atr char!130 if (IO_Serial_Read(reader, timeout, 1, buf+n)) break; // ppcold always returns timeout on last atr char! 131 131 n++; 132 132 if (inverse) buf[n] = ~(INVERT_BYTE (buf[n])); 133 133 } 134 134 ioctl(reader->handle, IOCTL_SET_ATR_READY, 1); 135 rdr_debug_mask(reader, D_IFD, "Total ATR characters read is: %d",n); 135 136 136 137 if ((buf[0] !=0x3B) && (buf[0] != 0x3F) && (n>9 && !memcmp(buf+4, "IRDETO", 6))) //irdeto S02 reports FD as first byte on dreambox SCI, not sure about SH4 or phoenix
Note:
See TracChangeset
for help on using the changeset viewer.