openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
sec.cpp File Reference
#include <sys/types.h>
#include <sys/wait.h>
#include <lib/dvb/dvb.h>
#include <lib/dvb/sec.h>
#include <lib/dvb/rotor_calc.h>
#include <lib/dvb/dvbtime.h>
#include <set>
#include <lib/base/eerror.h>
#include "absdiff.h"

Classes

struct  sat_compare
 

Macros

#define SEC_DEBUG
 
#define eSecDebug(arg...)   eDebug(arg)
 
#define eSecDebugNoSimulate(x...)
 
#define VOLTAGE(x)   (lnb_param.m_increased_voltage ? iDVBFrontend::voltage##x##_5 : iDVBFrontend::voltage##x)
 
#define eDebugNoSimulate(x...)
 
#define EXT_ROTOR_CMD   "/home/root/rotor_%d"
 

Functions

 DEFINE_REF (eDVBSatelliteEquipmentControl)
 
bool need_turn_fast (int turn_speed)
 
int roundMulti (int value, int m)
 
int heterodyne (iDVBFrontend &frontend, int rf, int lof)
 
int slot_id_to_fe_id (int slot_id)
 
bool has_external_rotor (int fe_id)
 
void move_external_rotor (int fe_id, int satpos, int storedpos)
 

Variables

const uint32_t crc32_table [256]
 

Macro Definition Documentation

◆ eDebugNoSimulate

#define eDebugNoSimulate (   x...)
Value:
do { \
if (!simulate) \
eDebug(x); \
} while(0)
std::string int x
Definition: picload.cpp:1503

◆ eSecDebug

#define eSecDebug (   arg...)    eDebug(arg)

◆ eSecDebugNoSimulate

#define eSecDebugNoSimulate (   x...)
Value:
do { \
if (!simulate) \
{ \
eSecDebug(x); \
} \
} while(0)

◆ EXT_ROTOR_CMD

#define EXT_ROTOR_CMD   "/home/root/rotor_%d"

◆ SEC_DEBUG

#define SEC_DEBUG

◆ VOLTAGE

#define VOLTAGE (   x)    (lnb_param.m_increased_voltage ? iDVBFrontend::voltage##x##_5 : iDVBFrontend::voltage##x)

Function Documentation

◆ DEFINE_REF()

◆ has_external_rotor()

bool has_external_rotor ( int  fe_id)

◆ heterodyne()

int heterodyne ( iDVBFrontend frontend,
int  rf,
int  lof 
)

◆ move_external_rotor()

void move_external_rotor ( int  fe_id,
int  satpos,
int  storedpos 
)

◆ need_turn_fast()

bool need_turn_fast ( int  turn_speed)

◆ roundMulti()

int roundMulti ( int  value,
int  m 
)

◆ slot_id_to_fe_id()

int slot_id_to_fe_id ( int  slot_id)

Variable Documentation

◆ crc32_table

const uint32_t crc32_table[256]
extern