myriadrf / RASDR

Radio Astronomy Software Defined Radio
50 stars 13 forks source link

TCP/IP socket server for RASDR2 #5

Closed bvacaliuc closed 3 months ago

bvacaliuc commented 10 years ago

RASDR2 requires a TCP/IP socket server program to work with software such as Jim Sky's Radio Spectrograph. The basic requirements for this interface are as follows:

  1. startup and become a TCP/IP server, command line options set various parameters for system gain and bandwidth
  2. accept one connection at a time, and send ASCII 'OK' upon a complete connection
  3. receive an CRLF terminated ASCII block of data with key=value pairs to set various settings such as:
    • Fs=integer (sample frequency in KHz, min=750, max=40000)
    • Fc=scientific (center frequency in Hz, min=300e6, max=3.8e9)
  4. upon receipt of the configuration parameters in #3 above, configure RASDR2 and continuously produce IQ data to the socket until disconnected. The IQ data will be interleaved 16-bit twos-complement values with no gaps in samples.
bvacaliuc commented 3 months ago

This was implemented as of v0.2.3.5 and beyond (Aug 2016). See: https://rasdr.org/patches/index.html