Commit | Line | Data |
---|---|---|
5377d91f MH |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _FE_DISEQC_SEND_BURST: | |
4 | ||
5 | ************************** | |
6 | ioctl FE_DISEQC_SEND_BURST | |
7 | ************************** | |
8 | ||
9 | *man FE_DISEQC_SEND_BURST(2)* | |
10 | ||
11 | Sends a 22KHz tone burst for 2x1 mini DiSEqC satellite selection. | |
12 | ||
13 | ||
14 | Synopsis | |
15 | ======== | |
16 | ||
17 | .. c:function:: int ioctl( int fd, int request, enum fe_sec_mini_cmd *tone ) | |
18 | ||
19 | Arguments | |
20 | ========= | |
21 | ||
22 | ``fd`` | |
23 | File descriptor returned by :ref:`open() <frontend_f_open>`. | |
24 | ||
25 | ``request`` | |
26 | FE_DISEQC_SEND_BURST | |
27 | ||
28 | ``tone`` | |
29 | pointer to enum :ref:`fe_sec_mini_cmd <fe-sec-mini-cmd>` | |
30 | ||
31 | ||
32 | Description | |
33 | =========== | |
34 | ||
35 | This ioctl is used to set the generation of a 22kHz tone burst for mini | |
36 | DiSEqC satellite selection for 2x1 switches. This call requires | |
37 | read/write permissions. | |
38 | ||
39 | It provides support for what's specified at | |
40 | `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>`__ | |
41 | ||
42 | RETURN VALUE | |
43 | ||
44 | On success 0 is returned, on error -1 and the ``errno`` variable is set | |
45 | appropriately. The generic error codes are described at the | |
46 | :ref:`Generic Error Codes <gen-errors>` chapter. | |
47 | ||
48 | ||
49 | .. _fe-sec-mini-cmd-t: | |
50 | ||
51 | enum fe_sec_mini_cmd | |
52 | ==================== | |
53 | ||
54 | ||
55 | .. _fe-sec-mini-cmd: | |
56 | ||
57 | .. flat-table:: enum fe_sec_mini_cmd | |
58 | :header-rows: 1 | |
59 | :stub-columns: 0 | |
60 | ||
61 | ||
62 | - .. row 1 | |
63 | ||
64 | - ID | |
65 | ||
66 | - Description | |
67 | ||
68 | - .. row 2 | |
69 | ||
70 | - .. _`SEC-MINI-A`: | |
71 | ||
0579e6e3 | 72 | ``SEC_MINI_A`` |
5377d91f MH |
73 | |
74 | - Sends a mini-DiSEqC 22kHz '0' Tone Burst to select satellite-A | |
75 | ||
76 | - .. row 3 | |
77 | ||
78 | - .. _`SEC-MINI-B`: | |
79 | ||
0579e6e3 | 80 | ``SEC_MINI_B`` |
5377d91f MH |
81 | |
82 | - Sends a mini-DiSEqC 22kHz '1' Data Burst to select satellite-B |