18c2ecf20Sopenharmony_ci.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
28c2ecf20Sopenharmony_ci.. c:namespace:: DTV.fe
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci.. _FE_DISEQC_SEND_BURST:
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci**************************
78c2ecf20Sopenharmony_ciioctl FE_DISEQC_SEND_BURST
88c2ecf20Sopenharmony_ci**************************
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciName
118c2ecf20Sopenharmony_ci====
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciFE_DISEQC_SEND_BURST - Sends a 22KHz tone burst for 2x1 mini DiSEqC satellite selection.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciSynopsis
168c2ecf20Sopenharmony_ci========
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci.. c:macro:: FE_DISEQC_SEND_BURST
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci``int ioctl(int fd, FE_DISEQC_SEND_BURST, enum fe_sec_mini_cmd tone)``
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciArguments
238c2ecf20Sopenharmony_ci=========
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci``fd``
268c2ecf20Sopenharmony_ci    File descriptor returned by :c:func:`open()`.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci``tone``
298c2ecf20Sopenharmony_ci    An integer enumered value described at :c:type:`fe_sec_mini_cmd`.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciDescription
328c2ecf20Sopenharmony_ci===========
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciThis ioctl is used to set the generation of a 22kHz tone burst for mini
358c2ecf20Sopenharmony_ciDiSEqC satellite selection for 2x1 switches. This call requires
368c2ecf20Sopenharmony_ciread/write permissions.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciIt provides support for what's specified at
398c2ecf20Sopenharmony_ci`Digital Satellite Equipment Control (DiSEqC) - Simple "ToneBurst" Detection Circuit specification. <http://www.eutelsat.com/files/contributed/satellites/pdf/Diseqc/associated%20docs/simple_tone_burst_detec.pdf>`__
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciReturn Value
428c2ecf20Sopenharmony_ci============
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciOn success 0 is returned.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciOn error -1 is returned, and the ``errno`` variable is set
478c2ecf20Sopenharmony_ciappropriately.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciGeneric error codes are described at the
508c2ecf20Sopenharmony_ci:ref:`Generic Error Codes <gen-errors>` chapter.
51