diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-03-03 13:59:56 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-03-03 13:59:56 +0000 |
| commit | af6a8a3a102ff0230fcc6d90ad213e2e7d706fa8 (patch) | |
| tree | 1c2d6a115cacfe99292fb8599a03e2c9a20f0a4f /lib/dvb/frontend.h | |
| parent | 88a6749020acfb921ae70f714e995af74e72c47c (diff) | |
| download | enigma2-af6a8a3a102ff0230fcc6d90ad213e2e7d706fa8.tar.gz enigma2-af6a8a3a102ff0230fcc6d90ad213e2e7d706fa8.zip | |
implement readFrontendData method to get a python dictionary containing data
about current used transponder/frontend (frontend state, frontend type, lock
state, sync state, frequency, symbolrate, fec_innter...)
when it is called with True as param it returns the original transponder data
(written to tuner) otherwise it reads the current data out of the frontend
(corrected tuner data)
Diffstat (limited to 'lib/dvb/frontend.h')
| -rw-r--r-- | lib/dvb/frontend.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/dvb/frontend.h b/lib/dvb/frontend.h index 8c5b757a..6d683267 100644 --- a/lib/dvb/frontend.h +++ b/lib/dvb/frontend.h @@ -56,7 +56,7 @@ class eDVBFrontend: public iDVBFrontend, public Object eSecCommandList m_sec_sequence; - int m_data[9]; /* when satellite frontend then + int m_data[10]; /* when satellite frontend then data[0] = lastcsw -> state of the committed switch data[1] = lastucsw -> state of the uncommitted switch data[2] = lastToneburst -> current state of toneburst switch @@ -65,7 +65,8 @@ class eDVBFrontend: public iDVBFrontend, public Object data[5] = curRotorCmd data[6] = curRotorPos data[7] = linkedToTunerNo - data[8] = dependsToTunerNo (just satpos.. for rotor with twin lnb) */ + data[8] = dependsToTunerNo (just satpos.. for rotor with twin lnb) + data[9] = previousFrequencyOffset */ int m_idleInputpower[2]; // 13V .. 18V int m_runningInputpower; @@ -101,7 +102,7 @@ public: RESULT setData(int num, int val); int readFrontendData(int type); // bitErrorRate, signalPower, signalQuality, Locked, Synced - PyObject *readTransponderData(); + PyObject *readTransponderData(bool original); int isCompatibleWith(ePtr<iDVBFrontendParameters> &feparm); int getID() { return m_fe; } |
