Example of Setting Auto Gain

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Dimitri Stolnikov horiz0n at gmx.net
Wed Dec 7 23:07:07 UTC 2016


Hi John,

you're on the right track - you give it one the values listed in  
<key>...</key>, True or False here. It might take integers 0 or 1 as well.

Best regards,
Dimitri

On Wed, 07 Dec 2016 02:12:50 +0100, john <john at tonebridge.com> wrote:

> Hello,
>
> I am not sure how to set auto gain on a RTL dongle.   I ran across this
> which I think should be what I need:
>
> http://cgit.osmocom.org/gr-osmosdr/tree/grc/gen_osmosdr_blocks.py
>
>  From that page:
>
> |<param> <name>Ch$(n): Gain Mode</name> <key>gain_mode$(n)</key>
> <value>False</value> <type>bool</type> <hide>\#if \$nchan() > $n then
> 'none' else 'all'#</hide> <option> <name>Manual</name> <key>False</key>
> </option> <option> <name>Automatic</name> <key>True</key> </option>
> </param> |
>
> However it is not clear what I need to pass to make auto gain happen.
>
> Thanks,
>
> John



More information about the osmocom-sdr mailing list