Hi Thomas,
What is the reason you disabled setting power attenuation an receive
gain for the second trx? Since both channels in UmTRX are independent,
it should be possible to control tx power and rx gain independently.
In the "SETPOWER" command handler:
if (mPrimary)
mRadioInterface->setPowerAttenuation(dbPwr);
In the "SETRXGAIN" it's even stranger, as it's set twice in case of
primary trx:
newGain = mRadioInterface->setRxGain(newGain);
mEnergyThreshold = INIT_ENERGY_THRSHD;
if (mPrimary)
newGain = mRadioInterface->setRxGain(newGain);
--
Regards,
Alexander Chemeris.
CEO, Fairwaves LLC / ООО УмРадио
http://fairwaves.ru