Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: SV: CAM support, was Improved CAM support in VDR



>> I think I now see the change, but I guess that
>>     "if (tc[i].CreateConnection() == OK) {"
>> will fail the second time and hence no more tries to
>>     "if (tc[i].RecvTPDU() == T_CTC_REPLY)"
>> are done. This is only a guess though...

KS> You're right, I see that, too, now.

KS> I guess I'll combine the NewConnection() and CreateConnection()
KS> functions. However, that'll have to wait until tomorrow, since there's
KS> currently a recording going on on my VDR box...


OK, so I did this;
-------------------------------------------
if (tc[i].CreateConnection() == OK && tc[i].RecvTPDU() == T_CTC_REPLY )
  return &tc[i];
else
  dsyslog("CAM didn't reply correctly to T_CREATE_TC - retrying...");
-------------------------------------------

and this in cCiTransportConnection::Data();
-------------------------------------------
if (state == stIDLE || state == stCREATION) {
                    ^^^^^^^^^^^^^^^^^^^^^^
-------------------------------------------


And now several tries are done, but my CAM is not seen anyway...
:-(

Is there another way of checking the result, apart from poll()?
(Are there any up to date doc on the CA api?)


-- 
Best regards,
 micael                            mailto:micael.beronius@telia.com



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index