Changeset 79
- Timestamp:
- 05/18/09 03:38:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/io_serial.c
r75 r79 1144 1144 cfsetispeed(&term, 9600); 1145 1145 tcsetattr(io->fd, TCSANOW, &term); 1146 1147 // our freq comes in as 358, 357 or 600 so it needs this to be in KHz for the FR command 1146 1148 freq*=10; 1147 1149 fr[1]=(unsigned char)((freq & 0xff00)>>8); 1148 1150 fr[2]=(unsigned char)(freq & 0x00ff); 1149 1151 1150 // printf("fr = %02x %02x %02x\n" , fr[0],fr[1],fr[2]); 1151 1152 // Irdeto card supposedly need NN set to 1 .. to be confirmed 1152 1153 if(irdeto_mode) 1153 1154 nn[1]=0x01; … … 1163 1164 IO_Serial_Flush(io); 1164 1165 1165 IO_Serial_Write (io, 0, 3, pr);1166 IO_Serial_Write (io, 0, 2, pr); 1166 1167 IO_Serial_Flush(io); 1167 1168
Note:
See TracChangeset
for help on using the changeset viewer.