[op25-dev] Re: rx.py progress

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/op25-dev@lists.osmocom.org/.

ikj1234i@yahoo.com [op25-dev] op25-dev at yahoogroups.com
Tue Jul 4 17:30:08 UTC 2017


looking into the "invalid sample rate" issue, from your screen print we see
"Invalid sample rate: 320000 Hz"

it initially appears to be coming from this code in src/librtlsdr.c:
        /* check if the rate is supported by the resampler */
        if ((samp_rate <= 225000) || (samp_rate > 3200000) ||
           ((samp_rate > 300000) && (samp_rate <= 900000))) {
                fprintf(stderr, "Invalid sample rate: %u Hz\n", samp_rate);
                return -EINVAL;
        }

which simply indicates that 320,000 isn't allowed.  

In your command you had -s 1000000 - it's easy to miss (I missed several times) but in OP25 the "S" needs to be capitalized!!!!!

Also, to eliminate OP25, you can retry using the CLI program "osmocom_fft -s 1000000".  It should be possible to get at least as far as the spectrum showing reception of the trunk CC....   

Max
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20170704/d5090356/attachment.htm>


More information about the op25-dev mailing list