openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
sec.h
Go to the documentation of this file.
1 #ifndef __dvb_sec_h
2 #define __dvb_sec_h
3 
4 #include <lib/dvb/idvb.h>
5 #include <list>
6 
7 #include <lib/dvb/fbc.h>
8 
9 #ifndef SWIG
11 {
12 public:
14  enum {
39  };
40  int cmd;
41  struct rotor
42  {
43  union {
44  int deltaA; // difference in mA between running and stopped rotor
46  };
47  int okcount; // counter
48  int steps; // goto steps
49  int direction;
50  };
51  struct pair
52  {
53  union
54  {
55  int voltage;
56  int tone;
57  int val;
58  };
59  int steps;
60  };
61  union
62  {
63  int val;
64  int steps;
65  int timeout;
66  int voltage;
67  int tone;
68  int toneburst;
69  int msec;
70  int mode;
74  };
76  :cmd(cmd)
77  {}
78  eSecCommand( int cmd, int val )
79  :cmd(cmd), val(val)
80  {}
82  :cmd(cmd), diseqc(diseqc)
83  {}
86  {}
89  {}
91  :cmd(NONE)
92  {}
93 };
94 
96 {
97  typedef std::list<eSecCommand> List;
98  List secSequence;
99 public:
100  typedef List::iterator iterator;
101 private:
102  iterator cur;
103 public:
105  :cur(secSequence.end())
106  {
107  }
108  void push_front(const eSecCommand &cmd)
109  {
110  secSequence.push_front(cmd);
111  }
112  void push_back(const eSecCommand &cmd)
113  {
114  secSequence.push_back(cmd);
115  }
117  {
118  secSequence.insert(end(), list.begin(), list.end());
119  }
120  void clear()
121  {
122  secSequence.clear();
123  cur=secSequence.end();
124  }
125  inline iterator &current()
126  {
127  return cur;
128  }
129  inline iterator begin()
130  {
131  return secSequence.begin();
132  }
133  inline iterator end()
134  {
135  return secSequence.end();
136  }
137  int size() const
138  {
139  return secSequence.size();
140  }
141  operator bool() const
142  {
143  return secSequence.size();
144  }
146  {
147  secSequence = lst.secSequence;
148  cur = begin();
149  return *this;
150  }
151 };
152 #endif
153 
155 {
156 #ifdef SWIG
159 #endif
160 public:
161  enum { AA=0, AB=1, BA=2, BB=3, SENDNO=4 /* and 0xF0 .. 0xFF*/ }; // DiSEqC Parameter
162  enum t_diseqc_mode { NONE=0, V1_0=1, V1_1=2, V1_2=3, SMATV=4 }; // DiSEqC Mode
163  enum t_toneburst_param { NO=0, A=1, B=2 };
164 #ifndef SWIG
168 
169  uint8_t m_repeats; // for cascaded switches
170  bool m_use_fast; // send no DiSEqC on H/V or Lo/Hi change
171  bool m_seq_repeat; // send the complete DiSEqC Sequence twice...
173  /* diseqc 1.0)
174  0) commited, toneburst
175  1) toneburst, committed
176  diseqc > 1.0)
177  2) committed, uncommitted, toneburst
178  3) toneburst, committed, uncommitted
179  4) uncommitted, committed, toneburst
180  5) toneburst, uncommitted, committed */
181  uint8_t m_uncommitted_cmd; // state of the 4 uncommitted switches..
182 #endif
183 };
184 
186 {
187 #ifdef SWIG
190 #endif
191 public:
192  enum t_22khz_signal { HILO=0, ON=1, OFF=2 }; // 22 Khz
193  enum t_voltage_mode { HV=0, _14V=1, _18V=2, _0V=3, HV_13=4 }; // 14/18 V
194 #ifndef SWIG
197  uint8_t m_rotorPosNum; // 0 is disable.. then use gotoxx
198 #endif
199 };
200 
202 {
203 #ifdef SWIG
206 #endif
207 public:
208  enum { NORTH, SOUTH, EAST, WEST };
209  enum { FAST, SLOW };
210 #ifndef SWIG
212 
214  {
215  bool m_use; // can we use rotor inputpower to detect rotor running state ?
216  uint8_t m_delta; // delta between running and stopped rotor
217  unsigned int m_turning_speed; // SLOW, FAST, or fast turning epoch
218  };
220 
222  {
223  uint8_t m_lo_direction; // EAST, WEST
224  uint8_t m_la_direction; // NORT, SOUTH
225  double m_longitude; // longitude for gotoXX? function
226  double m_latitude; // latitude for gotoXX? function
227  };
229 
230  void setDefaultOptions() // set default rotor options
231  {
232  m_inputpower_parameters.m_turning_speed = FAST; // fast turning
239  }
240 #endif
241 };
242 
244 {
245 #ifdef SWIG
248 #endif
249 public:
250  enum t_12V_relais_state { OFF=0, ON };
251 #ifndef SWIG
252  t_12V_relais_state m_12V_relais_state; // 12V relais output on/off
253 
254  int m_slot_mask; // useable by slot ( 1 | 2 | 4...)
255 
256  int m_lof_hi, // for 2 band universal lnb 10600 Mhz (high band offset frequency)
257  m_lof_lo, // for 2 band universal lnb 9750 Mhz (low band offset frequency)
258  m_lof_threshold; // for 2 band universal lnb 11750 Mhz (band switch frequency)
259 
260  bool m_increased_voltage; // use increased voltage ( 14/18V )
261 
262  std::multimap<int, eDVBSatelliteSwitchParameters> m_satellites;
265 
266  int m_prio; // to override automatic tuner management ... -1 is Auto
267 #endif
268 public:
269 #define MAX_SATCR 32
270 
271 #define MAX_EN50607_POSITIONS 64
272 #define MAX_FIXED_LNB_POSITIONS 64
273 #define MAX_MOVABLE_LNBS 6
274 
275 #define MAX_LNBNUM (MAX_FIXED_LNB_POSITIONS + MAX_MOVABLE_LNBS)
276 
284  unsigned int SatCRvco;
285  unsigned int TuningWord;
286  unsigned int GuardTuningWord;
287  unsigned int GuardTuningWord_a;
288  unsigned int UnicableConfigWord;
289 };
290 
292 
294 {
295  DECLARE_REF(eDVBSatelliteEquipmentControl);
296 public:
297  enum {
298  DELAY_AFTER_CONT_TONE_DISABLE_BEFORE_DISEQC=0, // delay after continuous tone disable before diseqc command
299  DELAY_AFTER_FINAL_CONT_TONE_CHANGE, // delay after continuous tone change before tune
300  DELAY_AFTER_FINAL_VOLTAGE_CHANGE, // delay after voltage change at end of complete sequence
301  DELAY_BETWEEN_DISEQC_REPEATS, // delay between repeated diseqc commands
302  DELAY_AFTER_LAST_DISEQC_CMD, // delay after last diseqc command
303  DELAY_AFTER_TONEBURST, // delay after toneburst
304  DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_SWITCH_CMDS, // delay after enable voltage before transmit toneburst/diseqc
305  DELAY_BETWEEN_SWITCH_AND_MOTOR_CMD, // delay after transmit toneburst / diseqc and before transmit motor command
306  DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MEASURE_IDLE_INPUTPOWER, // delay after voltage change before measure idle input power
307  DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_MOTOR_CMD, // delay after enable voltage before transmit motor command
308  DELAY_AFTER_MOTOR_STOP_CMD, // delay after transmit motor stop
309  DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MOTOR_CMD, // delay after voltage change before transmit motor command
310  DELAY_BEFORE_SEQUENCE_REPEAT, // delay before the complete sequence is repeated (when enabled)
311  MOTOR_COMMAND_RETRIES, // max transmit tries of rotor command when the rotor dont start turning (with power measurement)
312  MOTOR_RUNNING_TIMEOUT, // max motor running time before timeout
313  DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_SWITCH_CMDS, // delay after change voltage before transmit toneburst/diseqc
316  MAX_PARAMS
317  };
318 private:
319 #ifndef SWIG
320  static eDVBSatelliteEquipmentControl *instance;
321  eDVBSatelliteLNBParameters m_lnbs[512]; // at the moment we have max 2 FBC Tuners.. a 8 channels... max 32 LNB per channel
322  int m_lnbidx; // current index for set parameters
323  std::multimap<int, eDVBSatelliteSwitchParameters>::iterator m_curSat;
324  eSmartPtrList<eDVBRegisteredFrontend> &m_avail_frontends, &m_avail_simulate_frontends;
325  int m_rotorMoving;
326  int m_not_linked_slot_mask;
327  bool m_canMeasureInputPower;
328 #endif
329 #ifdef SWIG
332 #endif
333  static int m_params[MAX_PARAMS];
334 public:
335 #ifndef SWIG
337  RESULT prepare(iDVBFrontend &frontend, const eDVBFrontendParametersSatellite &sat, int &frequency, int frontend_id, unsigned int tunetimeout);
338  RESULT prepareSTelectronicSatCR(iDVBFrontend &frontend, eDVBSatelliteLNBParameters &lnb_param, long band, int ifreq, int &tunerfreq, unsigned int &tuningword, int guard_offset);
339  RESULT prepareRFmagicCSS(iDVBFrontend &frontend, eDVBSatelliteLNBParameters &lnb_param, long band, int ifreq, int &tunerfreq, unsigned int &tuningword, int guard_offset);
340  void prepareTurnOffSatCR(iDVBFrontend &frontend); // used for unicable
341  int canTune(const eDVBFrontendParametersSatellite &feparm, iDVBFrontend *, int frontend_id, int *highest_score_lnb=0);
342  bool currentLNBValid() { return m_lnbidx > -1 && m_lnbidx < (int)(sizeof(m_lnbs) / sizeof(eDVBSatelliteLNBParameters)); }
343 #endif
344  static eDVBSatelliteEquipmentControl *getInstance() { return instance; }
345  static void setParam(int param, int value);
346  RESULT clear();
347 /* LNB Specific Parameters */
348  RESULT addLNB();
349  RESULT setLNBSlotMask(int slotmask);
350  RESULT setLNBLOFL(int lofl);
351  RESULT setLNBLOFH(int lofh);
352  RESULT setLNBThreshold(int threshold);
353  RESULT setLNBIncreasedVoltage(bool onoff);
354  RESULT setLNBPrio(int prio);
355 /* DiSEqC Specific Parameters */
356  RESULT setDiSEqCMode(int diseqcmode);
357  RESULT setToneburst(int toneburst);
358  RESULT setRepeats(int repeats);
359  RESULT setCommittedCommand(int command);
360  RESULT setUncommittedCommand(int command);
361  RESULT setCommandOrder(int order);
362  RESULT setFastDiSEqC(bool onoff);
363  RESULT setSeqRepeat(bool onoff); // send the complete switch sequence twice (without rotor command)
364 /* Rotor Specific Parameters */
365  RESULT setLongitude(float longitude);
366  RESULT setLatitude(float latitude);
367  RESULT setLoDirection(int direction);
368  RESULT setLaDirection(int direction);
369  RESULT setUseInputpower(bool onoff);
370  RESULT setInputpowerDelta(int delta); // delta between running and stopped rotor
371  RESULT setRotorTurningSpeed(int speed); // set turning speed..
373 /* Unicable Specific Parameters */
374  RESULT setLNBSatCRpositionnumber(int UnicablePositionNumber);
375  RESULT setLNBSatCRTuningAlgo(int SatCR_switch_reliable);
376  RESULT setLNBBootupTime(int BootUpTime);
377  RESULT setLNBSatCRformat(int SatCR_format); //DiSEqc or JESS (or ...)
378  RESULT setLNBSatCR(int SatCR_idx);
379  RESULT setLNBSatCRvco(int SatCRvco);
380  RESULT setLNBSatCRpositions(int SatCR_positions);
381  RESULT getLNBSatCRformat(); //DiSEqc or JESS (or ...)
385 /* Satellite Specific Parameters */
386  RESULT addSatellite(int orbital_position);
388  RESULT setToneMode(int mode);
389  RESULT setRotorPosNum(int rotor_pos_num);
392 /* Tuner Specific Parameters */
393  RESULT setTunerLinked(int from, int to);
394  RESULT setTunerDepends(int from, int to);
395  void setSlotNotLinked(int tuner_no);
396 
397  void setRotorMoving(int, bool); // called from the frontend's
398  bool isRotorMoving();
399  bool canMeasureInputPower() { return m_canMeasureInputPower; }
400  bool isOrbitalPositionConfigured(int orbital_position);
401 
402  PyObject *getBandCutOffFrequency(int slot_no, int orbital_position);
403  PyObject *getFrequencyRangeList(int slot_no, int orbital_position);
404 
405  friend class eFBCTunerManager;
406  friend class eRTSPStreamClient;
407 
408 };
409 
410 #endif
Definition: idvb.h:503
Definition: frontendparms.h:20
Definition: dvb.h:27
Definition: sec.h:155
t_toneburst_param
Definition: sec.h:163
@ B
Definition: sec.h:163
@ NO
Definition: sec.h:163
@ A
Definition: sec.h:163
uint8_t m_command_order
Definition: sec.h:172
uint8_t m_uncommitted_cmd
Definition: sec.h:181
uint8_t m_repeats
Definition: sec.h:169
@ AA
Definition: sec.h:161
@ BA
Definition: sec.h:161
@ SENDNO
Definition: sec.h:161
@ BB
Definition: sec.h:161
@ AB
Definition: sec.h:161
bool m_seq_repeat
Definition: sec.h:171
uint8_t m_committed_cmd
Definition: sec.h:165
bool m_use_fast
Definition: sec.h:170
t_diseqc_mode m_diseqc_mode
Definition: sec.h:166
t_diseqc_mode
Definition: sec.h:162
@ NONE
Definition: sec.h:162
@ V1_2
Definition: sec.h:162
@ V1_0
Definition: sec.h:162
@ SMATV
Definition: sec.h:162
@ V1_1
Definition: sec.h:162
t_toneburst_param m_toneburst_param
Definition: sec.h:167
Definition: sec.h:294
PyObject * getFrequencyRangeList(int slot_no, int orbital_position)
Definition: sec.cpp:2077
RESULT setFastDiSEqC(bool onoff)
Definition: sec.cpp:1690
RESULT setLNBSlotMask(int slotmask)
Definition: sec.cpp:1530
RESULT setLNBBootupTime(int BootUpTime)
Definition: sec.cpp:1617
RESULT setLNBThreshold(int threshold)
Definition: sec.cpp:1560
RESULT setLNBSatCRpositionnumber(int UnicablePositionNumber)
Definition: sec.cpp:1590
RESULT setLongitude(float longitude)
Definition: sec.cpp:1711
RESULT setLNBSatCR(int SatCR_idx)
Definition: sec.cpp:1784
RESULT addSatellite(int orbital_position)
Definition: sec.cpp:1851
RESULT setLNBIncreasedVoltage(bool onoff)
Definition: sec.cpp:1570
bool isRotorMoving()
Definition: sec.cpp:2034
bool isOrbitalPositionConfigured(int orbital_position)
Definition: sec.cpp:2047
PyObject * getBandCutOffFrequency(int slot_no, int orbital_position)
Definition: sec.cpp:2061
int canTune(const eDVBFrontendParametersSatellite &feparm, iDVBFrontend *, int frontend_id, int *highest_score_lnb=0)
find best possible lnb for the current tune request
Definition: sec.cpp:65
static void setParam(int param, int value)
Definition: sec.cpp:33
RESULT setTunerLinked(int from, int to)
Definition: sec.cpp:1944
RESULT setCommittedCommand(int command)
Definition: sec.cpp:1660
RESULT prepareRFmagicCSS(iDVBFrontend &frontend, eDVBSatelliteLNBParameters &lnb_param, long band, int ifreq, int &tunerfreq, unsigned int &tuningword, int guard_offset)
Definition: sec.cpp:337
RESULT setLoDirection(int direction)
Definition: sec.cpp:1731
RESULT setCommandOrder(int order)
Definition: sec.cpp:1680
RESULT setLNBSatCRpositions(int SatCR_positions)
Definition: sec.cpp:1810
RESULT setLatitude(float latitude)
Definition: sec.cpp:1721
RESULT setVoltageMode(int mode)
Definition: sec.cpp:1868
RESULT setTunerDepends(int from, int to)
Definition: sec.cpp:1989
RESULT getMaxFixedLnbPositions()
Definition: sec.h:390
RESULT setToneMode(int mode)
Definition: sec.cpp:1879
RESULT getMaxLnbNum()
Definition: sec.h:391
RESULT addLNB()
Definition: sec.cpp:1517
RESULT setUncommittedCommand(int command)
Definition: sec.cpp:1670
RESULT setUseInputpower(bool onoff)
Definition: sec.cpp:1751
RESULT getMaxMovableLnbNum()
Definition: sec.h:372
void setSlotNotLinked(int tuner_no)
Definition: sec.cpp:2028
RESULT setSeqRepeat(bool onoff)
Definition: sec.cpp:1700
bool currentLNBValid()
Definition: sec.h:342
static eDVBSatelliteEquipmentControl * getInstance()
Definition: sec.h:344
void prepareTurnOffSatCR(iDVBFrontend &frontend)
Definition: sec.cpp:1380
RESULT setLNBLOFH(int lofh)
Definition: sec.cpp:1550
eDVBSatelliteEquipmentControl(eSmartPtrList< eDVBRegisteredFrontend > &avail_frontends, eSmartPtrList< eDVBRegisteredFrontend > &avail_simulate_frontends)
Definition: sec.cpp:39
RESULT setDiSEqCMode(int diseqcmode)
Definition: sec.cpp:1630
RESULT setLNBSatCRvco(int SatCRvco)
Definition: sec.cpp:1796
bool canMeasureInputPower()
Definition: sec.h:399
RESULT clear()
Definition: sec.cpp:1472
RESULT getLNBSatCRformat()
Definition: sec.cpp:1829
RESULT prepareSTelectronicSatCR(iDVBFrontend &frontend, eDVBSatelliteLNBParameters &lnb_param, long band, int ifreq, int &tunerfreq, unsigned int &tuningword, int guard_offset)
Definition: sec.cpp:356
RESULT getLNBSatCR()
Definition: sec.cpp:1836
RESULT setRepeats(int repeats)
Definition: sec.cpp:1650
@ DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MEASURE_IDLE_INPUTPOWER
Definition: sec.h:306
@ DELAY_AFTER_TONEBURST
Definition: sec.h:303
@ DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_SWITCH_CMDS
Definition: sec.h:313
@ DELAY_BETWEEN_DISEQC_REPEATS
Definition: sec.h:301
@ DELAY_BETWEEN_SWITCH_AND_MOTOR_CMD
Definition: sec.h:305
@ DELAY_AFTER_LAST_DISEQC_CMD
Definition: sec.h:302
@ MAX_PARAMS
Definition: sec.h:316
@ DELAY_AFTER_DISEQC_PERIPHERIAL_POWERON_CMD
Definition: sec.h:315
@ DELAY_AFTER_MOTOR_STOP_CMD
Definition: sec.h:308
@ DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MOTOR_CMD
Definition: sec.h:309
@ DELAY_AFTER_DISEQC_RESET_CMD
Definition: sec.h:314
@ DELAY_AFTER_FINAL_CONT_TONE_CHANGE
Definition: sec.h:299
@ MOTOR_COMMAND_RETRIES
Definition: sec.h:311
@ DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_SWITCH_CMDS
Definition: sec.h:304
@ MOTOR_RUNNING_TIMEOUT
Definition: sec.h:312
@ DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_MOTOR_CMD
Definition: sec.h:307
@ DELAY_BEFORE_SEQUENCE_REPEAT
Definition: sec.h:310
@ DELAY_AFTER_FINAL_VOLTAGE_CHANGE
Definition: sec.h:300
@ DELAY_AFTER_CONT_TONE_DISABLE_BEFORE_DISEQC
Definition: sec.h:298
RESULT setInputpowerDelta(int delta)
Definition: sec.cpp:1761
RESULT setLNBSatCRformat(int SatCR_format)
Definition: sec.cpp:1772
void setRotorMoving(int, bool)
Definition: sec.cpp:2039
RESULT setLNBPrio(int prio)
Definition: sec.cpp:1580
RESULT getLNBSatCRpositions()
Definition: sec.cpp:1822
RESULT setRotorTurningSpeed(int speed)
Definition: sec.cpp:1909
RESULT getLNBSatCRvco()
Definition: sec.cpp:1843
RESULT setLNBSatCRTuningAlgo(int SatCR_switch_reliable)
Definition: sec.cpp:1602
RESULT setToneburst(int toneburst)
Definition: sec.cpp:1640
RESULT prepare(iDVBFrontend &frontend, const eDVBFrontendParametersSatellite &sat, int &frequency, int frontend_id, unsigned int tunetimeout)
prepare for tune
Definition: sec.cpp:433
RESULT setLaDirection(int direction)
Definition: sec.cpp:1741
RESULT setRotorPosNum(int rotor_pos_num)
Definition: sec.cpp:1894
RESULT setLNBLOFL(int lofl)
Definition: sec.cpp:1540
Definition: sec.h:244
unsigned int GuardTuningWord
Definition: sec.h:286
unsigned int TuningWord
Definition: sec.h:285
std::multimap< int, eDVBSatelliteSwitchParameters > m_satellites
Definition: sec.h:262
unsigned int SatCRvco
Definition: sec.h:284
eDVBSatelliteDiseqcParameters m_diseqc_parameters
Definition: sec.h:263
int SatCR_format
Definition: sec.h:280
unsigned int UnicableConfigWord
Definition: sec.h:288
int BootUpTime
Definition: sec.h:283
eDVBSatelliteRotorParameters m_rotor_parameters
Definition: sec.h:264
int m_lof_lo
Definition: sec.h:257
int SatCR_positions
Definition: sec.h:278
int m_slot_mask
Definition: sec.h:254
t_12V_relais_state
Definition: sec.h:250
@ ON
Definition: sec.h:250
@ OFF
Definition: sec.h:250
int SatCR_RetuneNoPatEntry
Definition: sec.h:282
int SatCR_switch_reliable
Definition: sec.h:281
int m_lof_hi
Definition: sec.h:256
int SatCR_idx
Definition: sec.h:279
int SatCR_positionnumber
Definition: sec.h:277
int m_lof_threshold
Definition: sec.h:258
int m_prio
Definition: sec.h:266
bool m_increased_voltage
Definition: sec.h:260
t_12V_relais_state m_12V_relais_state
Definition: sec.h:252
unsigned int GuardTuningWord_a
Definition: sec.h:287
Definition: sec.h:202
eDVBSatelliteRotorParameters()
Definition: sec.h:211
eDVBSatelliteRotorInputpowerParameters m_inputpower_parameters
Definition: sec.h:219
@ SLOW
Definition: sec.h:209
@ FAST
Definition: sec.h:209
@ EAST
Definition: sec.h:208
@ SOUTH
Definition: sec.h:208
@ WEST
Definition: sec.h:208
@ NORTH
Definition: sec.h:208
eDVBSatelliteRotorGotoxxParameters m_gotoxx_parameters
Definition: sec.h:228
void setDefaultOptions()
Definition: sec.h:230
Definition: sec.h:186
t_22khz_signal
Definition: sec.h:192
@ OFF
Definition: sec.h:192
@ HILO
Definition: sec.h:192
@ ON
Definition: sec.h:192
t_voltage_mode
Definition: sec.h:193
@ HV
Definition: sec.h:193
@ _14V
Definition: sec.h:193
@ HV_13
Definition: sec.h:193
@ _18V
Definition: sec.h:193
@ _0V
Definition: sec.h:193
t_voltage_mode m_voltage_mode
Definition: sec.h:195
uint8_t m_rotorPosNum
Definition: sec.h:197
t_22khz_signal m_22khz_signal
Definition: sec.h:196
Definition: fbc.h:24
Definition: rtspstreamserver.h:17
Definition: sec.h:11
eSecCommand(int cmd, pair compare)
Definition: sec.h:87
eSecCommand(int cmd, int val)
Definition: sec.h:78
int msec
Definition: sec.h:69
int voltage
Definition: sec.h:66
int timeout
Definition: sec.h:65
pair compare
Definition: sec.h:73
int toneburst
Definition: sec.h:68
int steps
Definition: sec.h:64
rotor measure
Definition: sec.h:71
eDVBDiseqcCommand diseqc
Definition: sec.h:72
int mode
Definition: sec.h:70
int tone
Definition: sec.h:67
int cmd
Definition: sec.h:40
eSecCommand(int cmd, eDVBDiseqcCommand diseqc)
Definition: sec.h:81
eSecCommand()
Definition: sec.h:90
eSecCommand(int cmd)
Definition: sec.h:75
eSecCommand(int cmd, rotor measure)
Definition: sec.h:84
int val
Definition: sec.h:63
@ modeDynamic
Definition: sec.h:13
@ modeStatic
Definition: sec.h:13
@ SEND_TONEBURST
Definition: sec.h:16
@ IF_MEASURE_IDLE_WAS_NOT_OK_GOTO
Definition: sec.h:22
@ INVALIDATE_CURRENT_SWITCHPARMS
Definition: sec.h:24
@ SLEEP
Definition: sec.h:15
@ MEASURE_IDLE_INPUTPOWER
Definition: sec.h:21
@ START_TUNE_TIMEOUT
Definition: sec.h:29
@ SET_TONE
Definition: sec.h:15
@ SET_ROTOR_MOVING
Definition: sec.h:30
@ GOTO
Definition: sec.h:15
@ TAKEOVER
Definition: sec.h:33
@ IF_LOCK_TIMEOUT_GOTO
Definition: sec.h:27
@ IF_EXTERNAL_ROTOR_MOVING_GOTO
Definition: sec.h:38
@ SET_POWER_LIMITING_MODE
Definition: sec.h:19
@ RELEASE_TAKEOVER
Definition: sec.h:35
@ UPDATE_CURRENT_SWITCHPARMS
Definition: sec.h:24
@ IF_VOLTAGE_GOTO
Definition: sec.h:18
@ INVALIDATE_CURRENT_ROTORPARMS
Definition: sec.h:23
@ SET_ROTOR_DISEQC_RETRYS
Definition: sec.h:20
@ UPDATE_CURRENT_ROTORPARAMS
Definition: sec.h:23
@ IF_INPUTPOWER_DELTA_GOTO
Definition: sec.h:22
@ IF_NO_MORE_ROTOR_DISEQC_RETRYS_GOTO
Definition: sec.h:20
@ IF_TUNER_UNLOCKED_GOTO
Definition: sec.h:36
@ SET_ROTOR_STOPPED
Definition: sec.h:31
@ MEASURE_RUNNING_INPUTPOWER
Definition: sec.h:21
@ IF_NOT_TONE_GOTO
Definition: sec.h:28
@ CHANGE_TUNER_TYPE
Definition: sec.h:37
@ IF_TONE_GOTO
Definition: sec.h:28
@ SET_TIMEOUT
Definition: sec.h:17
@ SET_FRONTEND
Definition: sec.h:16
@ SEND_DISEQC
Definition: sec.h:16
@ IF_ROTORPOS_VALID_GOTO
Definition: sec.h:25
@ IF_TUNER_LOCKED_GOTO
Definition: sec.h:26
@ IF_TIMEOUT_GOTO
Definition: sec.h:17
@ DELAYED_CLOSE_FRONTEND
Definition: sec.h:32
@ SET_VOLTAGE
Definition: sec.h:15
@ NONE
Definition: sec.h:15
@ WAIT_TAKEOVER
Definition: sec.h:34
@ IF_NOT_VOLTAGE_GOTO
Definition: sec.h:18
Definition: sec.h:96
iterator begin()
Definition: sec.h:129
eSecCommandList & operator=(const eSecCommandList &lst)
Definition: sec.h:145
void push_front(const eSecCommand &cmd)
Definition: sec.h:108
iterator end()
Definition: sec.h:133
int size() const
Definition: sec.h:137
List::iterator iterator
Definition: sec.h:100
eSecCommandList()
Definition: sec.h:104
void push_back(eSecCommandList &list)
Definition: sec.h:116
void clear()
Definition: sec.h:120
iterator & current()
Definition: sec.h:125
void push_back(const eSecCommand &cmd)
Definition: sec.h:112
Definition: idvb.h:583
Definition: idvb.h:621
value
Definition: Profile.py:29
sat
Definition: create_picon_e1_to_e2.py:34
list list
Definition: main.py:25
int RESULT
Definition: object.h:12
static int frequency[3][4]
Definition: radiotext.cpp:99
#define MAX_LNBNUM
Definition: sec.h:275
#define MAX_FIXED_LNB_POSITIONS
Definition: sec.h:272
#define MAX_MOVABLE_LNBS
Definition: sec.h:273
Definition: sec.h:52
int steps
Definition: sec.h:59
int tone
Definition: sec.h:56
int val
Definition: sec.h:57
int voltage
Definition: sec.h:55
Definition: sec.h:42
int lastSignal
Definition: sec.h:45
int deltaA
Definition: sec.h:44
int direction
Definition: sec.h:49
int okcount
Definition: sec.h:47
int steps
Definition: sec.h:48
uint8_t mode
Definition: vps.cpp:40