Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend to RSP_TCP server protocol for remote SDRPlay devices #1

Open
nmaster2042 opened this issue Mar 14, 2022 · 6 comments
Open

Extend to RSP_TCP server protocol for remote SDRPlay devices #1

nmaster2042 opened this issue Mar 14, 2022 · 6 comments
Assignees

Comments

@nmaster2042
Copy link

SDRplay team has developed an extended version of RTL_TCP called RSP_TCP : https://github.com/SDRplay/RSPTCPServer

There is the -E (extented mode) to control specific RSP devices settings + 12 bits instead of 8 from original RTL-SDR.

This would bring access to remote sdrplay family devices from Soapy.

@zuckschwerdt
Copy link
Member

Sounds good. We'd just need to detect the RSP_CAPABILITIES_MAGIC on the first frame received and then switch to use the extended mode options.

There still isn't any back channel and no flow control. I was thinking about adding a best-effort flow control transparently, basically a command to pause/resume the stream according to (de-)activateStream API. Not sure if that would help much though (you could keep a receiver open and paused without spending time and bandwidth in the sender).

@nmaster2042
Copy link
Author

I don't know if it can help for dev work but there is the Extio RSP_TCP source code here: https://github.com/SDRplay/ExtIO_RSP_TCP where is implemented the specific client part.

@zuckschwerdt
Copy link
Member

Thanks, always good to confirm that we got the right idea.
I guess it will more difficult to install an SDRplay test environment than to implement the extended protocol ;)

@nmaster2042
Copy link
Author

You're right.
Here I have RSP 1A, 2pro, Duo & DX for tests.
I can open a rsp_tcp server for you to try ?
One device at a time.
FTTH here so it should work, even if it doesn't for higher BW.

@zuckschwerdt
Copy link
Member

I'll add a branch with basic support for the extended mode. Maybe it'll just work :)

@nmaster2042
Copy link
Author

nmaster2042 commented Jul 20, 2022

There is an implementation of RTL_TCP / RSP_TCP as plugin from SDRAngel.

https://github.com/f4exb/sdrangel/tree/master/plugins/samplesource/remotetcpinput

It could help add the rsp_tcp protocol in the Soapy driver ?

In this plugin, the 2 protocols are supported RTL0 for rtl_tcp and SDRA for rsp_tcp with it's enhanced features.

@zuckschwerdt zuckschwerdt self-assigned this Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants