diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-02-14 10:55:05 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-02-14 10:55:05 +0000 |
| commit | 16978fb1276ebaa1a97f30c8d7873f94111dd6bf (patch) | |
| tree | 36a1ddf3caccd0ce9b0b7ecbb1912cff88097160 /lib/dvb/sec.h | |
| parent | eee6103aa3a4b36d0ace8e33b56dd9bfa06bf1b7 (diff) | |
| download | enigma2-16978fb1276ebaa1a97f30c8d7873f94111dd6bf.tar.gz enigma2-16978fb1276ebaa1a97f30c8d7873f94111dd6bf.zip | |
make some diseqc / continuous tone / toneburst / rotor values (delays,
timeouts) configurable via /etc/enigma2
for name of the config entries look at lib/python/Components/NimManager.py
in InitSecParams function
TODO: build a simple Plugin to change this values via gui (with a description
for each value)
Hopefully now we can get rid of the "Tune failed" or other messages with some diseqc
switches
Diffstat (limited to 'lib/dvb/sec.h')
| -rw-r--r-- | lib/dvb/sec.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/dvb/sec.h b/lib/dvb/sec.h index 499e3737..88617407 100644 --- a/lib/dvb/sec.h +++ b/lib/dvb/sec.h @@ -240,6 +240,23 @@ class eDVBRegisteredFrontend; class eDVBSatelliteEquipmentControl: public iDVBSatelliteEquipmentControl { +public: + enum { + DELAY_AFTER_CONT_TONE=0, // delay after continuous tone change + DELAY_AFTER_FINAL_VOLTAGE_CHANGE, // delay after voltage change at end of complete sequence + DELAY_BETWEEN_DISEQC_REPEATS, // delay between repeated diseqc commands + DELAY_AFTER_LAST_DISEQC_CMD, // delay after last diseqc command + DELAY_AFTER_TONEBURST, // delay after toneburst + DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_SWITCH_CMDS, // delay after enable voltage before transmit toneburst/diseqc + DELAY_BETWEEN_SWITCH_AND_MOTOR_CMD, // delay after transmit toneburst / diseqc and before transmit motor command + DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MEASURE_IDLE_INPUTPOWER, // delay after voltage change before measure idle input power + DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_MOTOR_CMD, // delay after enable voltage before transmit motor command + DELAY_AFTER_MOTOR_STOP_CMD, // delay after transmit motor stop + DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_MOTOR_CMD, // delay after voltage change before transmit motor command + MOTOR_RUNNING_TIMEOUT, // max motor running time before timeout + MAX_PARAMS + }; +private: #ifndef SWIG static eDVBSatelliteEquipmentControl *instance; eDVBSatelliteLNBParameters m_lnbs[128]; // i think its enough @@ -252,6 +269,7 @@ class eDVBSatelliteEquipmentControl: public iDVBSatelliteEquipmentControl eDVBSatelliteEquipmentControl(); ~eDVBSatelliteEquipmentControl(); #endif + static int m_params[MAX_PARAMS]; public: #ifndef SWIG eDVBSatelliteEquipmentControl(eSmartPtrList<eDVBRegisteredFrontend> &avail_frontends); @@ -261,6 +279,7 @@ public: bool currentLNBValid() { return m_lnbidx > -1 && m_lnbidx < (int)(sizeof(m_lnbs) / sizeof(eDVBSatelliteLNBParameters)); } #endif static eDVBSatelliteEquipmentControl *getInstance() { return instance; } + static void setParam(int param, int value); RESULT clear(); /* LNB Specific Parameters */ RESULT addLNB(); |
