libdvbv5 1.26.1
Library to work with Digital TV devices on Linux
|
Files | |
file | dvb-sat.h |
Provides interfaces to deal with DVB Satellite systems. | |
Data Structures | |
struct | dvb_sat_lnb |
Stores the information of a LNBf. More... | |
Functions | |
int | dvb_sat_search_lnb (const char *name) |
search for a LNBf entry | |
int | dvb_print_lnb (int index) |
prints the contents of a LNBf entry at STDOUT. | |
void | dvb_print_all_lnb (void) |
Prints all LNBf entries at STDOUT. | |
const struct dvb_sat_lnb * | dvb_sat_get_lnb (int index) |
gets a LNBf entry at its internal database | |
const char * | dvb_sat_get_lnb_name (int index) |
gets a LNBf entry at its internal database | |
int | dvb_sat_set_parms (struct dvb_v5_fe_parms *parms) |
sets the satellite parameters | |
int | dvb_sat_real_freq (struct dvb_v5_fe_parms *p, int freq) |
return the real satellite frequency | |
void dvb_print_all_lnb | ( | void | ) |
Prints all LNBf entries at STDOUT.
This function doesn't return anything. Internally, it calls dvb_print_lnb() for all entries inside its LNBf database.
int dvb_print_lnb | ( | int | index | ) |
prints the contents of a LNBf entry at STDOUT.
index | index for the entry |
const struct dvb_sat_lnb * dvb_sat_get_lnb | ( | int | index | ) |
gets a LNBf entry at its internal database
index | index for the entry. |
NOTE: none of the strings are i18n translated. In order to get the translated name, you should use dvb_sat_get_lnb_name()
const char * dvb_sat_get_lnb_name | ( | int | index | ) |
gets a LNBf entry at its internal database
index | index for the entry. |
int dvb_sat_real_freq | ( | struct dvb_v5_fe_parms * | p, |
int | freq | ||
) |
return the real satellite frequency
p | struct dvb_v5_fe_parms pointer. |
freq | the DTV frequency. |
This function is called internally by the library to get the satellite frequency, considering the LO frequency.
int dvb_sat_search_lnb | ( | const char * | name | ) |
search for a LNBf entry
name | name of the LNBf entry to seek. |
On sucess, it returns a non-negative number with corresponds to the LNBf entry inside the LNBf structure at dvb-sat.c.
int dvb_sat_set_parms | ( | struct dvb_v5_fe_parms * | parms | ) |
sets the satellite parameters
parms | struct dvb_v5_fe_parms pointer. |
This function is called internally by the library to set the LNBf parameters, if the dvb_v5_fe_parms::lnb field is filled.