goestools icon indicating copy to clipboard operation
goestools copied to clipboard

SoapySDR support for goesrecv

Open parzivail opened this issue 5 years ago • 3 comments

There are still some issues that I haven't been able to figure out, for example:

  • Buffer overruns on SoapySDRDevice_readStream (return value -4)
  • Received IQ, when handled, always reports no packet drops, constant omega, 0 frequency, 0 rs, and extremely low vit

Perhaps a fresh set of eyes could find the issue.

What does work:

  • Specifying a SoapySDR device and parameters in the configuration
  • Creating device handle, setting parameters, and initializing the stream

What does not work:

  • Processing the stream

parzivail avatar Apr 28 '19 16:04 parzivail

Thanks for the PR!

Are you sure the conversion of I/Q data to std::complex<float> is good? What is the AGC gain value in the statistics output when you have it running? It should definitely be non-zero.

Can't comment on return value of SoapySDRDevice_readStream as I haven't used it myself.

pietern avatar May 08 '19 03:05 pietern

I'm not completely sure. Other samples I've found suggest it would work, but the SDK isn't documented very well and I'm having a hard time debugging it.

parzivail avatar May 08 '19 03:05 parzivail

Gain was definitely zero when I last ran it. I would bet the translation to the complex number isn't working correctly.

parzivail avatar May 08 '19 03:05 parzivail