Mailing List archive

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

[linux-dvb] Twinhan CA



Manu Abraham writes:
[...]
 > Is there some library in someone's knowledge which does SI parsing written in 
 > C such that i can do a quick and dirty _testing_ (only for testing) of the 
 > same, rather than wait for something to developed/modified ?
 > 
 > I thought of two solutions.
 > 
 > 1)A complete solution would be libdvb or libdvb2 itself.
 > 
 > There is a place-holder for libdvb2 at linuxtv, eventhough no developments has 
 > undergone so far.
 > 
 > 2)Another solution would be to hack scan to a certain extent to harvest 
 > information from SI, and set these parameters through *zap.


I wrote a small test program which will get the PMT for a given 
PNR/ServiceID, convert it to CA_PMT and send it (with just the CA 
system ids suported by the CAM) to the CAM. This is working fine.
Since *zap includes the PNR in the config files it will be easy to
add this in there. Maybe I will post a patch later.

Regarding the CI API we should settle on something common.
Currently I am exchanging complete Twinhan style commands with the
driver via CA_GET/SEND_MSG. Since the Twinhan CI commands send the 
standard En50221 packets minus header and length field plus their own
header we could also just send those. The driver would just have to exchange
the headers from standard En50221 to Twinhan and vice versa.
Or do you want to use extra ioctls like Twinhan does in their API?


Ralph 




Home | Main Index | Thread Index