satellite(3)
β¨ satellite(3) β¨
okay bestie, pull up a chair, because we're talking about satellite β Satellite Equipment Control π
this is from the satellite(3) manual, and it's literally the whole DVB satellite side of libdvbv5. let's get into it π°οΈπ
πΈ NAME πΈ
satellite β Satellite Equipment Control β¨
π SYNOPSIS π
π Files
dvb-sat.hβ provides interfaces to deal with DVB Satellite systems. no cap.
ποΈ Data Structures
struct dvb_sat_lnbβ stores the information of a LNBf. (yes, the whole vibe of one LNBf lives in here π«Ά)
π’ Enumerations
enum dvb_sat_polarizationβ{ POLARIZATION_OFF, POLARIZATION_H, POLARIZATION_V, POLARIZATION_L, POLARIZATION_R }β polarization types for Satellite systems. iconic.
βοΈ Functions
int dvb_sat_search_lnb (const char *name)β search for a LNBf entryint 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 databaseconst char * dvb_sat_get_lnb_name (int index)β gets a LNBf entry at its internal databaseint dvb_sat_set_parms (struct dvb_v5_fe_parms *parms)β sets the satellite parametersint dvb_sat_real_freq (struct dvb_v5_fe_parms *p, int freq)β return the real satellite frequency
π Detailed Description π
like, it's a satellite thing. the vibes are immaculate and the details are all below π
π Enumeration Type Documentation π
π¦ enum dvb_sat_polarization
Polarization types for Satellite systems. bestie this is the whole menu of how your signal is oriented π‘
Parameters
POLARIZATION_OFFβ Polarization disabled/unused. she's off duty πPOLARIZATION_Hβ Horizontal polarizationPOLARIZATION_Vβ Vertical polarizationPOLARIZATION_Lβ Left circular polarization (C-band)POLARIZATION_Rβ Right circular polarization (C-band)
Enumerator
POLARIZATION_OFFPOLARIZATION_HPOLARIZATION_VPOLARIZATION_LPOLARIZATION_R
Definition at line 138 of file dvb-v5-std.h. β¨
π₯ Function Documentation π₯
π void dvb_print_all_lnb (void )
Prints all LNBf entries at STDOUT. This function doesn't return anything β like, nothing comes back, it just does the thing. Internally, it calls dvb_print_lnb() for all entries inside its LNBf database. so it's the "print everything" button, periodt π
π int dvb_print_lnb (int index)
prints the contents of a LNBf entry at STDOUT.
Parameters
indexβ index for the entry
Returns
returns -1 if the index is out of range, zero otherwise.
π const struct dvb_sat_lnb * dvb_sat_get_lnb (int index)
gets a LNBf entry at its internal database
Parameters
indexβ index for the entry.
Returns
returns NULL if not found, of a struct dvb_sat_lnb pointer otherwise.
NOTE: none of the strings are i18n translated. In order to get the translated name, you should use dvb_sat_get_lnb_name(). so if you want the translated version, go ask her sister function π«Ά
π const char * dvb_sat_get_lnb_name (int index)
gets a LNBf entry at its internal database
Parameters
indexβ index for the entry.
Returns
returns NULL if not found, of the name of a LNBf, translated to the user language, if translation is available. (only if translation is available bestie, don't come for me π)
π int dvb_sat_real_freq (struct dvb_v5_fe_parms * p, int freq)
return the real satellite frequency
Parameters
pβstruct dvb_v5_fe_parmspointer.freqβ the DTV frequency.
This function is called internally by the library to get the satellite frequency, considering the LO frequency.
Returns
frequency. that's it, that's the tea β
π int dvb_sat_search_lnb (const char * name)
search for a LNBf entry
Parameters
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. (yes the original says "sucess", we don't gatekeep typos here, we honour them π)
Returns
A -1 return code indicates that the LNBf was not found. π
π int dvb_sat_set_parms (struct dvb_v5_fe_parms * parms)
sets the satellite parameters
Parameters
parmsβstruct dvb_v5_fe_parmspointer.
This function is called internally by the library to set the LNBf parameters, if the dvb_v5_fe_parms::lnb field is filled. so like, fill the field, get the parms, iykyk β¨
Returns
0 on success.
π Author π
Generated automatically by Doxygen for libdvbv5 from the source code. (not a human, just a robot doing her little thing, and honestly? she ate π€π )
and that's the whole page bestie!! this little icon comes to you from libdvbv5, Version 1.32.0 β stay polarized, stay slay, and don't forget to NULL-check ππ¦π
π¦ where this page comes from
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms