openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eDVBSatelliteEquipmentControl Class Reference

#include <sec.h>

Inheritance diagram for eDVBSatelliteEquipmentControl:
iDVBSatelliteEquipmentControl iObject

Public Types

enum  {
  DELAY_AFTER_CONT_TONE_DISABLE_BEFORE_DISEQC =0 , DELAY_AFTER_FINAL_CONT_TONE_CHANGE , DELAY_AFTER_FINAL_VOLTAGE_CHANGE , DELAY_BETWEEN_DISEQC_REPEATS ,
  DELAY_AFTER_LAST_DISEQC_CMD , DELAY_AFTER_TONEBURST , DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_SWITCH_CMDS , DELAY_BETWEEN_SWITCH_AND_MOTOR_CMD ,
  DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MEASURE_IDLE_INPUTPOWER , DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_MOTOR_CMD , DELAY_AFTER_MOTOR_STOP_CMD , DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MOTOR_CMD ,
  DELAY_BEFORE_SEQUENCE_REPEAT , MOTOR_COMMAND_RETRIES , MOTOR_RUNNING_TIMEOUT , DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_SWITCH_CMDS ,
  DELAY_AFTER_DISEQC_RESET_CMD , DELAY_AFTER_DISEQC_PERIPHERIAL_POWERON_CMD , MAX_PARAMS
}
 

Public Member Functions

 eDVBSatelliteEquipmentControl (eSmartPtrList< eDVBRegisteredFrontend > &avail_frontends, eSmartPtrList< eDVBRegisteredFrontend > &avail_simulate_frontends)
 
RESULT prepare (iDVBFrontend &frontend, const eDVBFrontendParametersSatellite &sat, int &frequency, int frontend_id, unsigned int tunetimeout)
 prepare for tune More...
 
RESULT prepareSTelectronicSatCR (iDVBFrontend &frontend, eDVBSatelliteLNBParameters &lnb_param, long band, int ifreq, int &tunerfreq, unsigned int &tuningword, int guard_offset)
 
RESULT prepareRFmagicCSS (iDVBFrontend &frontend, eDVBSatelliteLNBParameters &lnb_param, long band, int ifreq, int &tunerfreq, unsigned int &tuningword, int guard_offset)
 
void prepareTurnOffSatCR (iDVBFrontend &frontend)
 
int canTune (const eDVBFrontendParametersSatellite &feparm, iDVBFrontend *, int frontend_id, int *highest_score_lnb=0)
 find best possible lnb for the current tune request More...
 
bool currentLNBValid ()
 
RESULT clear ()
 
RESULT addLNB ()
 
RESULT setLNBSlotMask (int slotmask)
 
RESULT setLNBLOFL (int lofl)
 
RESULT setLNBLOFH (int lofh)
 
RESULT setLNBThreshold (int threshold)
 
RESULT setLNBIncreasedVoltage (bool onoff)
 
RESULT setLNBPrio (int prio)
 
RESULT setDiSEqCMode (int diseqcmode)
 
RESULT setToneburst (int toneburst)
 
RESULT setRepeats (int repeats)
 
RESULT setCommittedCommand (int command)
 
RESULT setUncommittedCommand (int command)
 
RESULT setCommandOrder (int order)
 
RESULT setFastDiSEqC (bool onoff)
 
RESULT setSeqRepeat (bool onoff)
 
RESULT setLongitude (float longitude)
 
RESULT setLatitude (float latitude)
 
RESULT setLoDirection (int direction)
 
RESULT setLaDirection (int direction)
 
RESULT setUseInputpower (bool onoff)
 
RESULT setInputpowerDelta (int delta)
 
RESULT setRotorTurningSpeed (int speed)
 
RESULT getMaxMovableLnbNum ()
 
RESULT setLNBSatCRpositionnumber (int UnicablePositionNumber)
 
RESULT setLNBSatCRTuningAlgo (int SatCR_switch_reliable)
 
RESULT setLNBBootupTime (int BootUpTime)
 
RESULT setLNBSatCRformat (int SatCR_format)
 
RESULT setLNBSatCR (int SatCR_idx)
 
RESULT setLNBSatCRvco (int SatCRvco)
 
RESULT setLNBSatCRpositions (int SatCR_positions)
 
RESULT getLNBSatCRformat ()
 
RESULT getLNBSatCR ()
 
RESULT getLNBSatCRvco ()
 
RESULT getLNBSatCRpositions ()
 
RESULT addSatellite (int orbital_position)
 
RESULT setVoltageMode (int mode)
 
RESULT setToneMode (int mode)
 
RESULT setRotorPosNum (int rotor_pos_num)
 
RESULT getMaxFixedLnbPositions ()
 
RESULT getMaxLnbNum ()
 
RESULT setTunerLinked (int from, int to)
 
RESULT setTunerDepends (int from, int to)
 
void setSlotNotLinked (int tuner_no)
 
void setRotorMoving (int, bool)
 
bool isRotorMoving ()
 
bool canMeasureInputPower ()
 
bool isOrbitalPositionConfigured (int orbital_position)
 
PyObject * getBandCutOffFrequency (int slot_no, int orbital_position)
 
PyObject * getFrequencyRangeList (int slot_no, int orbital_position)
 
- Public Member Functions inherited from iObject
void operator delete (void *p)
 
virtual void AddRef ()=0
 
virtual void Release ()=0
 

Static Public Member Functions

static eDVBSatelliteEquipmentControlgetInstance ()
 
static void setParam (int param, int value)
 

Friends

class eFBCTunerManager
 
class eRTSPStreamClient
 

Additional Inherited Members

- Protected Member Functions inherited from iObject
virtual ~iObject ()
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DELAY_AFTER_CONT_TONE_DISABLE_BEFORE_DISEQC 
DELAY_AFTER_FINAL_CONT_TONE_CHANGE 
DELAY_AFTER_FINAL_VOLTAGE_CHANGE 
DELAY_BETWEEN_DISEQC_REPEATS 
DELAY_AFTER_LAST_DISEQC_CMD 
DELAY_AFTER_TONEBURST 
DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_SWITCH_CMDS 
DELAY_BETWEEN_SWITCH_AND_MOTOR_CMD 
DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MEASURE_IDLE_INPUTPOWER 
DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_MOTOR_CMD 
DELAY_AFTER_MOTOR_STOP_CMD 
DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MOTOR_CMD 
DELAY_BEFORE_SEQUENCE_REPEAT 
MOTOR_COMMAND_RETRIES 
MOTOR_RUNNING_TIMEOUT 
DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_SWITCH_CMDS 
DELAY_AFTER_DISEQC_RESET_CMD 
DELAY_AFTER_DISEQC_PERIPHERIAL_POWERON_CMD 
MAX_PARAMS 

Constructor & Destructor Documentation

◆ eDVBSatelliteEquipmentControl()

eDVBSatelliteEquipmentControl::eDVBSatelliteEquipmentControl ( eSmartPtrList< eDVBRegisteredFrontend > &  avail_frontends,
eSmartPtrList< eDVBRegisteredFrontend > &  avail_simulate_frontends 
)

Member Function Documentation

◆ addLNB()

RESULT eDVBSatelliteEquipmentControl::addLNB ( )

◆ addSatellite()

RESULT eDVBSatelliteEquipmentControl::addSatellite ( int  orbital_position)

◆ canMeasureInputPower()

bool eDVBSatelliteEquipmentControl::canMeasureInputPower ( )
inline

◆ canTune()

int eDVBSatelliteEquipmentControl::canTune ( const eDVBFrontendParametersSatellite sat,
iDVBFrontend fe,
int  slot_id,
int *  highest_score_lnb = 0 
)
virtual

find best possible lnb for the current tune request

Parameters
satreference to current sattelite parameters
fereference to current frontend
slot_idrepresentation of the slotnumber as an bitmask ( 1 << slotnumber)
highest_score_lnbindex of lnb with highest score
Returns
score of lnb stored in highest_score_lnb

Implements iDVBSatelliteEquipmentControl.

◆ clear()

RESULT eDVBSatelliteEquipmentControl::clear ( )

◆ currentLNBValid()

bool eDVBSatelliteEquipmentControl::currentLNBValid ( )
inline

◆ getBandCutOffFrequency()

PyObject * eDVBSatelliteEquipmentControl::getBandCutOffFrequency ( int  slot_no,
int  orbital_position 
)

◆ getFrequencyRangeList()

PyObject * eDVBSatelliteEquipmentControl::getFrequencyRangeList ( int  slot_no,
int  orbital_position 
)

◆ getInstance()

static eDVBSatelliteEquipmentControl* eDVBSatelliteEquipmentControl::getInstance ( )
inlinestatic

◆ getLNBSatCR()

RESULT eDVBSatelliteEquipmentControl::getLNBSatCR ( )

◆ getLNBSatCRformat()

RESULT eDVBSatelliteEquipmentControl::getLNBSatCRformat ( )

◆ getLNBSatCRpositions()

RESULT eDVBSatelliteEquipmentControl::getLNBSatCRpositions ( )

◆ getLNBSatCRvco()

RESULT eDVBSatelliteEquipmentControl::getLNBSatCRvco ( )

◆ getMaxFixedLnbPositions()

RESULT eDVBSatelliteEquipmentControl::getMaxFixedLnbPositions ( )
inline

◆ getMaxLnbNum()

RESULT eDVBSatelliteEquipmentControl::getMaxLnbNum ( )
inline

◆ getMaxMovableLnbNum()

RESULT eDVBSatelliteEquipmentControl::getMaxMovableLnbNum ( )
inline

◆ isOrbitalPositionConfigured()

bool eDVBSatelliteEquipmentControl::isOrbitalPositionConfigured ( int  orbital_position)

◆ isRotorMoving()

bool eDVBSatelliteEquipmentControl::isRotorMoving ( )

◆ prepare()

RESULT eDVBSatelliteEquipmentControl::prepare ( iDVBFrontend frontend,
const eDVBFrontendParametersSatellite sat,
int &  frequency,
int  slot_id,
unsigned int  tunetimeout 
)
virtual

prepare for tune

Parameters
frontendreference to current frontend
satreference to current sattelite parameters
frequencyreference to tuner frequency. Initial value is ignored, committing new frequency on tuner
slot_idrepresentation of the slotnumber as an bitmask ( 1 << slotnumber)
tunetimeout5000 ms currenly hardcoded in eDVBFrontend::tune()
Returns
RESULT

Implements iDVBSatelliteEquipmentControl.

◆ prepareRFmagicCSS()

RESULT eDVBSatelliteEquipmentControl::prepareRFmagicCSS ( iDVBFrontend frontend,
eDVBSatelliteLNBParameters lnb_param,
long  band,
int  ifreq,
int &  tunerfreq,
unsigned int &  tuningword,
int  guard_offset 
)

◆ prepareSTelectronicSatCR()

RESULT eDVBSatelliteEquipmentControl::prepareSTelectronicSatCR ( iDVBFrontend frontend,
eDVBSatelliteLNBParameters lnb_param,
long  band,
int  ifreq,
int &  tunerfreq,
unsigned int &  tuningword,
int  guard_offset 
)

◆ prepareTurnOffSatCR()

void eDVBSatelliteEquipmentControl::prepareTurnOffSatCR ( iDVBFrontend frontend)
virtual

◆ setCommandOrder()

RESULT eDVBSatelliteEquipmentControl::setCommandOrder ( int  order)

◆ setCommittedCommand()

RESULT eDVBSatelliteEquipmentControl::setCommittedCommand ( int  command)

◆ setDiSEqCMode()

RESULT eDVBSatelliteEquipmentControl::setDiSEqCMode ( int  diseqcmode)

◆ setFastDiSEqC()

RESULT eDVBSatelliteEquipmentControl::setFastDiSEqC ( bool  onoff)

◆ setInputpowerDelta()

RESULT eDVBSatelliteEquipmentControl::setInputpowerDelta ( int  delta)

◆ setLaDirection()

RESULT eDVBSatelliteEquipmentControl::setLaDirection ( int  direction)

◆ setLatitude()

RESULT eDVBSatelliteEquipmentControl::setLatitude ( float  latitude)

◆ setLNBBootupTime()

RESULT eDVBSatelliteEquipmentControl::setLNBBootupTime ( int  BootUpTime)

◆ setLNBIncreasedVoltage()

RESULT eDVBSatelliteEquipmentControl::setLNBIncreasedVoltage ( bool  onoff)

◆ setLNBLOFH()

RESULT eDVBSatelliteEquipmentControl::setLNBLOFH ( int  lofh)

◆ setLNBLOFL()

RESULT eDVBSatelliteEquipmentControl::setLNBLOFL ( int  lofl)

◆ setLNBPrio()

RESULT eDVBSatelliteEquipmentControl::setLNBPrio ( int  prio)

◆ setLNBSatCR()

RESULT eDVBSatelliteEquipmentControl::setLNBSatCR ( int  SatCR_idx)

◆ setLNBSatCRformat()

RESULT eDVBSatelliteEquipmentControl::setLNBSatCRformat ( int  SatCR_format)

◆ setLNBSatCRpositionnumber()

RESULT eDVBSatelliteEquipmentControl::setLNBSatCRpositionnumber ( int  UnicablePositionNumber)

◆ setLNBSatCRpositions()

RESULT eDVBSatelliteEquipmentControl::setLNBSatCRpositions ( int  SatCR_positions)

◆ setLNBSatCRTuningAlgo()

RESULT eDVBSatelliteEquipmentControl::setLNBSatCRTuningAlgo ( int  SatCR_switch_reliable)

◆ setLNBSatCRvco()

RESULT eDVBSatelliteEquipmentControl::setLNBSatCRvco ( int  SatCRvco)

◆ setLNBSlotMask()

RESULT eDVBSatelliteEquipmentControl::setLNBSlotMask ( int  slotmask)

◆ setLNBThreshold()

RESULT eDVBSatelliteEquipmentControl::setLNBThreshold ( int  threshold)

◆ setLoDirection()

RESULT eDVBSatelliteEquipmentControl::setLoDirection ( int  direction)

◆ setLongitude()

RESULT eDVBSatelliteEquipmentControl::setLongitude ( float  longitude)

◆ setParam()

void eDVBSatelliteEquipmentControl::setParam ( int  param,
int  value 
)
static

◆ setRepeats()

RESULT eDVBSatelliteEquipmentControl::setRepeats ( int  repeats)

◆ setRotorMoving()

void eDVBSatelliteEquipmentControl::setRotorMoving ( int  slot_no,
bool  b 
)
virtual

◆ setRotorPosNum()

RESULT eDVBSatelliteEquipmentControl::setRotorPosNum ( int  rotor_pos_num)

◆ setRotorTurningSpeed()

RESULT eDVBSatelliteEquipmentControl::setRotorTurningSpeed ( int  speed)

◆ setSeqRepeat()

RESULT eDVBSatelliteEquipmentControl::setSeqRepeat ( bool  onoff)

◆ setSlotNotLinked()

void eDVBSatelliteEquipmentControl::setSlotNotLinked ( int  tuner_no)

◆ setToneburst()

RESULT eDVBSatelliteEquipmentControl::setToneburst ( int  toneburst)

◆ setToneMode()

RESULT eDVBSatelliteEquipmentControl::setToneMode ( int  mode)

◆ setTunerDepends()

RESULT eDVBSatelliteEquipmentControl::setTunerDepends ( int  from,
int  to 
)

◆ setTunerLinked()

RESULT eDVBSatelliteEquipmentControl::setTunerLinked ( int  from,
int  to 
)

◆ setUncommittedCommand()

RESULT eDVBSatelliteEquipmentControl::setUncommittedCommand ( int  command)

◆ setUseInputpower()

RESULT eDVBSatelliteEquipmentControl::setUseInputpower ( bool  onoff)

◆ setVoltageMode()

RESULT eDVBSatelliteEquipmentControl::setVoltageMode ( int  mode)

Friends And Related Function Documentation

◆ eFBCTunerManager

friend class eFBCTunerManager
friend

◆ eRTSPStreamClient

friend class eRTSPStreamClient
friend

The documentation for this class was generated from the following files: