libdvbv5
1.11.0
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 | dvbsat_freqrange |
Defines a frequency range used by Satellite. More... | |
struct | dvb_sat_lnb |
Stores the information of a LNBf. More... | |
Enumerations | |
enum | dvb_sat_polarization { POLARIZATION_OFF, POLARIZATION_H, POLARIZATION_V, POLARIZATION_L, POLARIZATION_R } |
Polarization types for Satellite systems. More... | |
Functions | |
int | dvb_sat_search_lnb (const char *name) |
search for a LNBf entry More... | |
int | dvb_print_lnb (int index) |
prints the contents of a LNBf entry at STDOUT. More... | |
void | dvb_print_all_lnb (void) |
Prints all LNBf entries at STDOUT. More... | |
const struct dvb_sat_lnb * | dvb_sat_get_lnb (int index) |
gets a LNBf entry at its internal database More... | |
const char * | dvb_sat_get_lnb_name (int index) |
gets a LNBf entry at its internal database More... | |
int | dvb_sat_set_parms (struct dvb_v5_fe_parms *parms) |
sets the satellite parameters More... | |
enum dvb_sat_polarization |
Polarization types for Satellite systems.
POLARIZATION_OFF | Polarization disabled/unused. |
POLARIZATION_H | Horizontal polarization |
POLARIZATION_V | Vertical polarization |
POLARIZATION_L | Left circular polarization (C-band) |
POLARIZATION_R | Right circular polarization (C-band) |
Enumerator | |
---|---|
POLARIZATION_OFF | |
POLARIZATION_H | |
POLARIZATION_V | |
POLARIZATION_L | |
POLARIZATION_R |
Definition at line 138 of file dvb-v5-std.h.
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_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.