Closed 10man closed 3 years ago
Hello, The spyserver source is currently non-functional.
Best regards, Alex
Maybe I can help, what is missing? Is there a new protocol that need implemented or are the changes going to be deeper than that?
Most of it actually. The spyserver protocol is really badly "documented" and the module was just a quick test to see if it was even possible to interface with it. It needs a full rewrite and some cleaner cross platform networking code.
I can't even find the source repo for the spyserver itself, much less any API docs? Do you have a place to start looking for the code or the API?
I can't even find the source repo for the spyserver itself
Both spyserver and sdr# are proprietary so that's normal. You can find the "docs" (which are actually just raw C# code...) on the airspy groups.io, I don't have them with me atm.
Here is the raw C# code SpyServerClient.zip
And a C++ translation here: https://github.com/opensatelliteproject/xritdemod/blob/master/demodulator/src/SpyServerFrontend.h https://github.com/opensatelliteproject/xritdemod/blob/master/demodulator/src/SpyServerProtocol.h https://github.com/opensatelliteproject/xritdemod/blob/master/demodulator/src/SpyServerFrontend.cpp
last time I tried I wasn't able to get that client to work, i'll try again I guess
I wonder if it's not just simpler to do a server mode of sdr++ that provides an open source protocol / interface that allows remote connection and control of the receiver. Being that spyserver is proprietary and the protocol to the receiver isn't documented, why not just go around it.
It really comes down to how tough it would be to run the airspyhf_source as a server. Could we UDP the data on a port and setup a TCP port for control / feedback.
Something like: airspyhf_source >> sdrpp-server >> UDP mcast IQ data & TCP JSON API for control >> sdrpp-remote_source >> sdr++ GUI
Thoughts?
@10man Yes it could be a real alternative to make a sdrpp_server that can use sdrpp existing sources, so all sdr hardware supported by sdrpp would be remotely usable. SDR console have this feature.
it is already planned but I don't want to rush it. It won't be anything like spyserver or rtl_tcp, much more advanced
the spyserver source is now functional
I am new to this project and I will try to be of some use...
I have encountered a couple issues while trying to get my server working:
sdrpp
, I also see the spyserver source available in the source menu.The last two lines repeat endlessly which is obviously a problem with the server! After a short time the following log is produced by the server:
As for the logging from
sdrpp
, not much to report... Here is the startup:Then, here is the error produced when connecting to the server: