IPlfApiDiseqc |
Parameters | winid | |
polarisation | The polarisation value of the LNB amplifier; The value should be PolarisationHorizontal or PolarisationVertical | |
band | Specifies the band of the LNB amplifier; The value should be BandHigh or BandLow. | |
ctrlword1 | ||
bytelen1 | ||
ctrlword2 | ||
bytelen2 | ||
toneburst | ||
cookie | ||
CmdResult | ||
Returnvalue | Returns ... |
Parameters | winid | This function has a double intention. Firstly, it sets the analogue characteristics of the antenna signal (voltage offset and 22KHz presence). Secondly, this command allows to modulate the 22KHz carrier with a diseqc (1.0 or 1.1) word and/or toneburst data (sa/sb switch). The polarisation/ band value determine the analogue characteristics (LNB amplifier parameters) and allways have to be set to meaningfull values. Before setting the voltage/22KHz, this command will send zero or more diseqc words and the sa/sb position. When no diseqc message need to be set the datalen parameter should be put to zero. | ||||||||||||
polarisation | The polarisation value of the LNB amplifier; The value should be PolarisationHorizontal or PolarisationVertical | |||||||||||||
band | Specifies the band of the LNB amplifier; The value should be BandHigh or BandLow. | |||||||||||||
datalen | In case one or more Diseqc messages need to be sent, this variable specifies the length of the diseqc buffer, otherwise it will be 0. | |||||||||||||
buffer | This variable will point to an array of one or more Diseqc messages if datalen != 0, otherwise it will be neglected. The buffer array will contain one or more Diseqc messages. Each Diseqc message starts with one byte indicating the Diseqc message length (msglen) which will rnage in between ( 3, 3+n). The format is as follow : According to Diseqc Specification [1], the message itself will allways start with following three bytes (Framing byte, address byte, cmd byte) followed by optional data. The sum of all Diseqc messages and there headers should be equal to datalen. All messages are sent according to Diseqc Specification [1] including the timing specifications (e.g. separation of 15 msec of each messages and restauration of analog polarisation /band at the end). toneburst | This parameter specifies whether a backwards compatible tone burst message needs to be sent or not send. In the first case the values should be ToneBurstSatA or ToneBurstSatB. in the last case the value should be ToneBurstNone. According to Diseqc Specification [1] a toneburst message will be sent after all Diseqc messages are sent.
| cookie | This cookie will be used in the OnMessageSent function, to know when the Diseqc message(s) was/were sent.
| CmdResult | This variable if not NULL will contain the functional result.
| Returnvalue | The return value reflects the non functional result of making the API call (see general api description)
| |