Querying CCI bits from CableCard
For Querying CCI Bits from CableCard, we have the below API in mpeos_pod.c
mpe_Error mpeos_podGetCCIBits(uint32_t frequency, uint32_t programNumber,uint32_t tsID, uint8_t *cciBits)
But for startCPSession, we have the API:
mpe_Error mpeos_podStartCPSession( uint32_t tunerId, uint16_t programNumber, uint32_t ltsid, uint16_t ecmPid, uint8_t programIndex,mpe_PODCPSession * session )
If you look on these two APIs, the first one is requiring frequency while another one is requiring tunerID.
For the consistency in these APIs, I think mpeos_podGetCCIBits should also require tunerId instead of frequency.
Please inform me if anybody have different opinion on this.
Another issue with mpeos_podGetCCIBits API is its dependency on tsID. Rather than depend on tsID, it should pass ltsID (logical tsID) as per the CCCP2 specs.
Please inform me if anybody have different opinion on this issue.