OpenRSP Net: the OpenRSP source for SDR++ (source)
==================================================

    sdrpp/                          the module
      src/client/                   the client of an OpenRSP server: its protocol, the IQ decoding,
                                    the link parser and the receivers' tuning ranges (no SDR++ in it)
      src/net/                      TCP, TLS (Mbed TLS), HTTP, WebSocket and mDNS
      src/module/                   the SDR++ source module: its menu and SDR++'s callbacks
      compat/                       the three VOLK declarations SDR++'s streams need
      test/                         client_test (no SDR++ needed) and host_test (in a real SDR++ core)
      tools/                        the import checks against real SDR++ releases
      docker/, build.sh             the release builds for every platform
    include/                        OpenRSP's receiver API headers (the protocol carries their structs)
    third_party/openrsp-iq-codec/   the IQ codec the server's streams are coded with

Building it for the computer you are on
---------------------------------------

Needs CMake 3.24 or newer and a C++17 compiler; the build fetches SDR++'s headers and Mbed TLS at
pinned versions (network access needed the first time).

    cmake -S sdrpp -B build -DCMAKE_BUILD_TYPE=Release
    cmake --build build --target openrsp_net_source client_test
    ./build/client_test

That gives build/openrsp_net_source.so (build/openrsp_net_source.dylib on macOS, with the Xcode
command line tools installed); install it as INSTALL.txt says. On Windows
the module links against import libraries made from the SDR++ release's DLLs: see
sdrpp/docker/build-windows.sh for how.

To stream from a server without SDR++:

    ./build/client_test 'https://192.168.1.20:8073/#token=...' --seconds 10

(it prints the server's certificate fingerprint the first time; pass it with --pin).

The release builds
------------------

sdrpp/build.sh OUT_DIR [VERSION] builds every platform (Linux x86-64 and 64-bit ARM in Docker, Windows
x64 in Docker with clang-cl), checks each
binary against the current SDR++ nightly and the pinned SDR++ Community Edition release, and writes
the zip this source came in.

Licence: GNU General Public License, version 3 or (at your option) any later version (LICENSE).
