Changeset 10594
- Timestamp:
- 02/23/15 10:08:40 (9 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/globals.h
r10593 r10594 2053 2053 static inline bool caid_is_irdeto(uint16_t caid) { return caid >> 8 == 0x06; } 2054 2054 static inline bool caid_is_videoguard(uint16_t caid) { return caid >> 8 == 0x09; } 2055 static inline bool caid_is_cryptoworks(uint16_t caid) { return caid >> 8 == 0x0D; } 2055 2056 static inline bool caid_is_betacrypt(uint16_t caid) { return caid >> 8 == 0x17; } 2056 2057 static inline bool caid_is_nagra(uint16_t caid) { return caid >> 8 == 0x18; } -
trunk/module-gbox.c
r10592 r10594 1050 1050 slot = gbox_next_free_slot(local_gbox.id); 1051 1051 //SECA, Viaccess and Cryptoworks have multiple providers 1052 if(caid_is_seca(cl->reader->caid) || (cl->reader->caid >> 8 == 0x05) || 1053 (cl->reader->caid >> 8 == 0x0D)) 1052 if(caid_is_seca(cl->reader->caid) || (cl->reader->caid >> 8 == 0x05) || caid_is_cryptoworks(cl->reader->caid)) 1054 1053 { 1055 1054 for(i = 0; i < cl->reader->nprov; i++) … … 1096 1095 if (cli->reader->gbox_cccam_reshare < min_reshare) 1097 1096 { min_reshare = cli->reader->gbox_cccam_reshare; } 1098 if(caid_is_seca(card->caid) || (card->caid >> 8 == 0x05) || 1099 (card->caid >> 8 == 0x0D)) 1097 if(caid_is_seca(card->caid) || (card->caid >> 8 == 0x05) || caid_is_cryptoworks(card->caid)) 1100 1098 { 1101 1099 it2 = ll_iter_create(card->providers); -
trunk/module-webif.c
r10593 r10594 3693 3693 if(caid_is_videoguard(caid)) { return "videoguard"; } 3694 3694 if(caid >= 0x0B00 && caid <= 0x0BFF) { return "conax"; } 3695 if(caid >= 0x0D00 && caid <= 0x0DFF) { return "cryptoworks"; }3695 if(caid_is_cryptoworks(caid)) { return "cryptoworks"; } 3696 3696 if(caid_is_betacrypt(caid)) { return "betacrypt"; } 3697 3697 if(caid_is_nagra(caid)) { return "nagra"; } -
trunk/oscam-reader.c
r10590 r10594 534 534 dest[5] = source[2]; 535 535 } 536 else if(caid >> 8 == 0x05 || caid >> 8 == 0x0D)536 else if(caid >> 8 == 0x05 || caid_is_cryptoworks(caid)) 537 537 { 538 538 dest[0] = 0x00; … … 560 560 dest[5] = 0; 561 561 } 562 else if(caid >> 8 == 0x05 || caid >> 8 == 0x0D)562 else if(caid >> 8 == 0x05 || caid_is_cryptoworks(caid)) 563 563 { 564 564 memcpy(dest, source + 1, 5);
Note:
See TracChangeset
for help on using the changeset viewer.