On Monday, 25 March 2019 00:24:25 UTC-3, rich T wrote:
>
> Is there a way to display the gain of the SDR when it first loads?
>

Rich,

The program sets the gain to auto, see command:
if err := dev.SetTunerGainMode(false); err != nil {
log.Fatal(err)
}
When we read back the gain with:
gain := dev.GetTunerGain()
log.Printf("RTL-SDR gain*10=%d Db\n", gain)
The log show:
rtldavis: info: b'17:18:41.669290 RTL-SDR gain*10=0 Db'

Not much of a help though!

Luc

Reply via email to