I corrected scan output for VDR / DVB-C. DVB-S is not implementedHi list,
yet, if someone cares then please send a patch.
i'm currently writing the patch for dvb-s vdr output format.
While doing so, i have to parse the orbital position and the westeast flag
as mentioned in ETSI EN 300 468 V010401 / 6.2.12.2 satellite_delivery_system_descriptor.
The t->orbital_pos is ok at Astra 19.2�E but t->we_flag is always -1 .
What's wrong?
_ETSI_:
/* Syntax ./. No. of bits ./. Identifier */
satellite_delivery_system_descriptor()
{ descriptor_tag 8 uimsbf
descriptor_length 8 uimsbf
frequency 32 bslbf
orbital_position 16 bslbf
west_east_flag 1 bslbf
polarization 2 bslbf
modulation 5 bslbf
symbol_rate 28 bslbf
FEC_inner 4 bslbf }_scan.c_:
static
void parse_satellite_delivery_system_descriptor (const unsigned char *buf,
struct transponder *t)
{
t->type = FE_QPSK;
t->param.frequency = 10 * bcd32_to_cpu (buf[2], buf[3], buf[4], buf[5]);
t->param.u.qpsk.fec_inner = fec_tab[buf[12] & 0x07];
t->param.u.qpsk.symbol_rate = 10 * bcd32_to_cpu (buf[9],
buf[10],
buf[11],
buf[12] & 0xf0);
t->polarisation = (buf[8] >> 5) & 0x03;
t->param.inversion = INVERSION_AUTO; t->orbital_pos = bcd32_to_cpu (0x00,
0x00,
buf[6],
buf[7]);
t->we_flag = buf[8] & 0x7f; dump_dvb_parameters (stderr, t);
if (t->scan_done)
fprintf (stderr, " (done)");
if (t->last_tuning_failed)
fprintf (stderr, " (tuning failed)");
fprintf (stderr, "\n");
}
-- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
