diff options
author | Thomas Tsou <tom@tsou.cc> | 2013-07-13 18:29:08 +0200 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2013-07-14 13:37:03 +0400 |
commit | 42ade041d76585f42359811da650260df607c805 (patch) | |
tree | 4c943a98433175af258cb66fc14ab2bf4575eb37 /Transceiver52M/radioInterface.h | |
parent | 5e18001bb0138f3073c0471d29cc8e893770aedb (diff) |
Transceiver52M: Setup independent gain and tune elements for dual channel
Diffstat (limited to 'Transceiver52M/radioInterface.h')
-rw-r--r-- | Transceiver52M/radioInterface.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h index b02cadc..05ac299 100644 --- a/Transceiver52M/radioInterface.h +++ b/Transceiver52M/radioInterface.h @@ -127,10 +127,10 @@ public: bool tuneRx(double freq, int chan = 0); /** set receive gain */ - double setRxGain(double dB); + double setRxGain(double dB, int chan = 0); /** get receive gain */ - double getRxGain(void); + double getRxGain(int chan = 0); /** drive transmission of GSM bursts */ void driveTransmitRadio(signalVector **radioBurst, bool *zeroBurst); @@ -138,7 +138,7 @@ public: /** drive reception of GSM bursts */ void driveReceiveRadio(); - void setPowerAttenuation(double atten); + void setPowerAttenuation(double atten, int chan = 0); /** returns the full-scale transmit amplitude **/ double fullScaleInputValue(); |