1. How to test the sample BDA CI Sample program

   
    (1). Prepare hardware, including VP1030A satellite CI card, CAM module and a valid Smart card.

    (2). Install Twinhan BDA driver 

    (3). Register "THPsiParser.ax" by "regsvr32.exe"       

    (4). Run utility "bdadvb-s.exe"

    (5). Press button "Build DVB-S Graph"

    (6). Press button "Satellite setting" 
       => Set "DiSEqc", "LNB", "Frequency", and "Samping Rate"

    (7). Press button "Run Graph"

    (8). Press button "Select Channel" 
         Note: Please check Signal strength. It should be greater than 0, indicating a channel is locked.

    (9). Press checkbox "Map PIDs"
         Input the program's "Video PID", "Audio PID", and "PMT PID" which will be descrambled.

    (10). The scrambled program should be played.   

  To switch to a new channel, please follow the steps 
       
     (1). Press button "Stop Graph"

     (2). Press button "Run Graph"

     (3). Press button "Select Channel" 
         Note: Please check Signal strength. It should be greater than 0, indicating a channel is locked.

     (4). Press checkbox "Map PIDs"
         Input the new program's "Video PID", "Audio PID", and "PMT PID" which will be descrambled.

     (5). The scrambled program should be played.   


2.  Hints for Twinhan BDA CI interface 
    Steps to programing CI interface,
    (1). Check driver interface "CheckBDAInterface()"

    (2). Parse the transport stream and find the scrambled program's "Video_PID", "Audio_PID" and "PMT_PID"

    (3). Prepare program PMT Payload data
       => You can get it from your own filter or the attached sample source code.

    (4). Call driver "SendPMT()"
     
    Please refer to the sample source codes for further details.

