Changeset 113
- Timestamp:
- 06/26/09 20:32:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/reader-viaccess.c
r99 r113 251 251 int rc=0; 252 252 int hasD2 = 0; 253 uchar DE04[256]; 253 254 254 255 if(ecm88Data[0]==0xd2) … … 279 280 ecm88Data+=5; 280 281 ecm88Len-=5; 282 283 // DE04 284 if (ecm88Data[0]==0xDE && ecm88Data[1]==0x04) 285 { 286 memcpy (DE04, &ecm88Data[0], 6); 287 ecm88Data+=6; 288 } 289 // 281 290 282 291 if( last_geo.provid != provid ) … … 312 321 ins88[3]=keynr; 313 322 ins88[4]=ecm88Len; 314 write_cmd(ins88, ecm88Data); // request dcw 323 324 // DE04 325 if (DE04[0]==0xDE) 326 { 327 memcpy(DE04+6, (uchar *)ecm88Data, ecm88Len-6); 328 write_cmd(ins88, DE04); // request dcw 329 } 330 else 331 { 332 write_cmd(ins88, (uchar *)ecm88Data); // request dcw 333 } 334 // 335 315 336 read_cmd(insc0, NULL); // read dcw 316 337 switch(cta_res[0])
Note:
See TracChangeset
for help on using the changeset viewer.