Mailing List archive

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

[vdr] Re: Problem switching channels



I just found in the Technotrend SDK functions that the DiSEqC command will be 
send 3 times, not only once as VDR does.
Here is their code:
 >
 > DiPar[0] = 0xE0; DiPar[1] = 0x10; DiPar[2] = 0x38;
 > DiPar[3] = DISEQC_HIGH_NIBLE;
 > DiPar[3] |= pol ? DISEQC_VERTICAL : DISEQC_HORIZONTAL;
 > DiPar[3] |= f22 ? DISEQC_HIGH_BAND : DISEQC_LOW_BAND;
 > DiPar[3] |= (m_iMultiPosition) ? DISEQC_POSITION_B : DISEQC_POSITION_A;
 > DiPar[3] |= (m_iMultiOption) ? DISEQC_OPTION_B : DISEQC_OPTION_A;
 > for(i=0; i<3; i++)
 > {
 >  error = m_Frontend.SendDiSEqCMsg(DiPar, 4, 0xff);
 >  DiPar[0] = 0xE1; // Wiederholung
 >  Sleep(120); // Wartezeit zwischen Diseqc-Sequenzen
 > }
 >
I will give it a try.

-- 
Helmut Auer, helmut@helmutauer.de





Home | Main Index | Thread Index