satellite(3)

πŸ“¦
version 1.32.0 Β· 2 versions
, in fedora 43

✨ 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 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

πŸ’œ 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 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. ✨

πŸ”₯ 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_parms pointer.
  • 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_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. 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