Forums » Descrambling »
emm_allowed
Added by Hanspeter Müller almost 11 years ago
Hi,
can someone tell me what the following code (emm_allowed) is doing?
(src/descrambler/cwc.c)
if (cwc->cwc_emm) {
int emm_allowed = (pcard->cwc_ua[0] || pcard->cwc_ua[1] ||
pcard->cwc_ua[2] || pcard->cwc_ua[3] ||
pcard->cwc_ua[4] || pcard->cwc_ua[5] ||
pcard->cwc_ua[6] || pcard->cwc_ua[7]);
if (!emm_allowed) {
I can't get AU to work this way, tvheadend always complains that the server isn't allowing EMM's. If i change the last line to if (emm_allowed), it starts working, oscam is receiving and processing the EMM's and seems to correctly updates my card, so my configuration (tvheadend allows AU, so does the user and the reader in oscam) seems to be correct. I'm using the newest versions of tvheadend and oscam, is it possible that something changed oscam so the code above does not recognize the AU-Capability correctly?
/hanspeter
Replies (2)
RE: emm_allowed - Added by Lukas de Boer almost 11 years ago
Try setting the value of au to 1 in oscam.user, instead of a string. This worked for me, and the entitlements started updating suddenly. (see http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.user#au)
RE: emm_allowed - Added by Hanspeter Müller almost 11 years ago
Hi Lukas,
that's the way i have it configured; i only have one reader anyways. But tvheadend still complains that the server rejected AU, even when oscam sais "AU enabled for User". I removed the int-emm_allowed loop, it works for me, but my understanding of C is practically zero, so i still dont know what exactly pcard->cwc_ua[x] does...
Regards
/hanspeter