From 24e3fb2d76e4ea339571169641ed6ca99648e569 Mon Sep 17 00:00:00 2001 From: wysiwyng <4764286+wysiwyng@users.noreply.github.com> Date: Sun, 18 Feb 2024 19:57:00 +0100 Subject: [PATCH] add rsp1b to remote sinks/sources --- plugins/channelrx/remotetcpsink/remotetcpprotocol.h | 3 ++- plugins/channelrx/remotetcpsink/remotetcpsinksink.cpp | 1 + .../androidsdrdriverinput/androidsdrdriverinputgui.cpp | 1 + plugins/samplesource/remotetcpinput/remotetcpinputgui.cpp | 3 +++ sdrbase/resources/webapi/doc/html2/index.html | 2 +- sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml | 2 +- swagger/sdrangel/api/swagger/include/SDRPlayV3.yaml | 2 +- swagger/sdrangel/code/html2/index.html | 2 +- 8 files changed, 11 insertions(+), 5 deletions(-) diff --git a/plugins/channelrx/remotetcpsink/remotetcpprotocol.h b/plugins/channelrx/remotetcpsink/remotetcpprotocol.h index 817aab639..9c2abc754 100644 --- a/plugins/channelrx/remotetcpsink/remotetcpprotocol.h +++ b/plugins/channelrx/remotetcpsink/remotetcpprotocol.h @@ -61,7 +61,8 @@ public: SOAPY_SDR, TEST_SOURCE, USRP, - XTRX + XTRX, + SDRPLAY_V3_RSP1B }; enum Command { diff --git a/plugins/channelrx/remotetcpsink/remotetcpsinksink.cpp b/plugins/channelrx/remotetcpsink/remotetcpsinksink.cpp index 81a255b2c..391f86348 100644 --- a/plugins/channelrx/remotetcpsink/remotetcpsinksink.cpp +++ b/plugins/channelrx/remotetcpsink/remotetcpsinksink.cpp @@ -359,6 +359,7 @@ RemoteTCPProtocol::Device RemoteTCPSinkSink::getDevice() QHash sdrplayMap = { {"RSP1", RemoteTCPProtocol::SDRPLAY_V3_RSP1}, {"RSP1A", RemoteTCPProtocol::SDRPLAY_V3_RSP1A}, + {"RSP1B", RemoteTCPProtocol::SDRPLAY_V3_RSP1B}, {"RSP2", RemoteTCPProtocol::SDRPLAY_V3_RSP2}, {"RSPduo", RemoteTCPProtocol::SDRPLAY_V3_RSPDUO}, {"RSPdx", RemoteTCPProtocol::SDRPLAY_V3_RSPDX}, diff --git a/plugins/samplesource/androidsdrdriverinput/androidsdrdriverinputgui.cpp b/plugins/samplesource/androidsdrdriverinput/androidsdrdriverinputgui.cpp index 971aa1213..aff8505ea 100644 --- a/plugins/samplesource/androidsdrdriverinput/androidsdrdriverinputgui.cpp +++ b/plugins/samplesource/androidsdrdriverinput/androidsdrdriverinputgui.cpp @@ -312,6 +312,7 @@ const QHash R {RemoteTCPProtocol::LIME_SDR, &m_limeGains}, {RemoteTCPProtocol::SDRPLAY_V3_RSP1, &m_sdrplayV3Gains}, {RemoteTCPProtocol::SDRPLAY_V3_RSP1A, &m_sdrplayV3Gains}, + {RemoteTCPProtocol::SDRPLAY_V3_RSP1B, &m_sdrplayV3Gains}, {RemoteTCPProtocol::SDRPLAY_V3_RSP2, &m_sdrplayV3Gains}, {RemoteTCPProtocol::SDRPLAY_V3_RSPDUO, &m_sdrplayV3Gains}, {RemoteTCPProtocol::SDRPLAY_V3_RSPDX, &m_sdrplayV3Gains}, diff --git a/sdrbase/resources/webapi/doc/html2/index.html b/sdrbase/resources/webapi/doc/html2/index.html index d13a80921..ba5d19681 100644 --- a/sdrbase/resources/webapi/doc/html2/index.html +++ b/sdrbase/resources/webapi/doc/html2/index.html @@ -13460,7 +13460,7 @@ margin-bottom: 20px; "properties" : { "deviceType" : { "type" : "string", - "description" : "SDRplay device type. Can be RSP1, RSP1A, RSP2, RSPduo, RSPdx, Unknown" + "description" : "SDRplay device type. Can be RSP1, RSP1A, RSP1B, RSP2, RSPduo, RSPdx, Unknown" }, "bandwidths" : { "type" : "array", diff --git a/sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml b/sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml index b383ae214..099997714 100644 --- a/sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml +++ b/sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml @@ -73,7 +73,7 @@ SDRPlayV3Report: properties: deviceType: type: string - description: SDRplay device type. Can be RSP1, RSP1A, RSP2, RSPduo, RSPdx, Unknown + description: SDRplay device type. Can be RSP1, RSP1A, RSP1B, RSP2, RSPduo, RSPdx, Unknown bandwidths: type: array items: diff --git a/swagger/sdrangel/api/swagger/include/SDRPlayV3.yaml b/swagger/sdrangel/api/swagger/include/SDRPlayV3.yaml index 38f2fcce1..3a2b73814 100644 --- a/swagger/sdrangel/api/swagger/include/SDRPlayV3.yaml +++ b/swagger/sdrangel/api/swagger/include/SDRPlayV3.yaml @@ -73,7 +73,7 @@ SDRPlayV3Report: properties: deviceType: type: string - description: SDRplay device type. Can be RSP1, RSP1A, RSP2, RSPduo, RSPdx, Unknown + description: SDRplay device type. Can be RSP1, RSP1A, RSP1B, RSP2, RSPduo, RSPdx, Unknown bandwidths: type: array items: diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html index d13a80921..ba5d19681 100644 --- a/swagger/sdrangel/code/html2/index.html +++ b/swagger/sdrangel/code/html2/index.html @@ -13460,7 +13460,7 @@ margin-bottom: 20px; "properties" : { "deviceType" : { "type" : "string", - "description" : "SDRplay device type. Can be RSP1, RSP1A, RSP2, RSPduo, RSPdx, Unknown" + "description" : "SDRplay device type. Can be RSP1, RSP1A, RSP1B, RSP2, RSPduo, RSPdx, Unknown" }, "bandwidths" : { "type" : "array",