@ -6,7 +6,7 @@ The Remote TCP Sink Channel plugin sends I/Q samples from the baseband via TCP/I
@@ -6,7 +6,7 @@ The Remote TCP Sink Channel plugin sends I/Q samples from the baseband via TCP/I
The client application could be SDRangel using the [Remote TCP Input](../../samplesource/remotetcpinput/readme.md) plugin or an rtl_tcp compatible application.
This means that applications using rtl_tcp protocol can connect to the wide variety of SDRs supported by SDRangel.
While the plugin supports the RTL0 protocol for compatibility with older applications, the newer SDRA protocol supports the following additional features:
While the plugin supports rtl_tcp's RTL0 protocol for compatibility with older applications, the newer SDRA protocol supports the following additional features:
- Different bit depths (8, 16, 24 or 32),
- Additional settings, such as decimation, frequency offset and channel gain,
@ -14,7 +14,8 @@ While the plugin supports the RTL0 protocol for compatibility with older applica
@@ -14,7 +14,8 @@ While the plugin supports the RTL0 protocol for compatibility with older applica
- IQ compression, using FLAC or zlib, to reduce network bandwidth,
- IQ squelch, to reduce network bandwidth when no signal is being received,
- Real-time forwarding of device/antenna position and direction to client,
- Text messaging between clients and server.
- Text messaging between clients and server,
- Use of either TCP or WSS (WebSocket Secure Protocol).
The Remote TCP Sink can support multiple clients connected simultaneously, with a user-defined maximum client limit. Clients can also have a time limit applied.
qCritical()<<"RemoteTCPSink failed to listen on"<<m_settings.m_dataAddress<<"port"<<m_settings.m_dataPort;
// FIXME: Report to GUI?
QStringmsg=QString("RemoteTCPSink failed to listen on %1 port %2: %3").arg(m_settings.m_dataAddress).arg(m_settings.m_dataPort).arg(m_webSocketServer->errorString());
qCritical()<<"RemoteTCPSink failed to listen on"<<m_settings.m_dataAddress<<"port"<<m_settings.m_dataPort;
// FIXME: Report to GUI?
QStringmsg=QString("RemoteTCPSink failed to listen on %1 port %2: %3").arg(m_settings.m_dataAddress).arg(m_settings.m_dataPort).arg(m_webSocketServer->errorString());
@ -93,7 +93,7 @@ When unchecked, the channel sample rate can be set to any value.
@@ -93,7 +93,7 @@ When unchecked, the channel sample rate can be set to any value.
Specifies number of bits per I/Q sample transmitted via TCP/IP.
When the protocol is RTL0, only 8-bits are supported. SDRA and Spy Server protocol supports 8, 16, 24 and 32-bit samples.
When the protocol is RTL0, only 8-bits are supported. SDRangel and Spy Server protocol supports 8, 16, 24 and 32-bit samples.
<h3>19: Server IP address</h3>
@ -105,14 +105,16 @@ TCP port on the server to connect to.
@@ -105,14 +105,16 @@ TCP port on the server to connect to.
<h3>21: Protocol</h3>
Selects protocol to use. Set to SDRangel for rtl_tcp, rsp_tcp or SDRangel's own protocol. Alternative, Spy Server can be selected to connect to Spy Servers.
Selects protocol to use. Set to SDRangel for rtl_tcp, rsp_tcp or SDRangel's own protocol.
Set to SDRangel wss to use SDRangel's protocol over WebSocket Secure.
Alternatively, Spy Server can be selected to connect to Spy Servers.
<h3>23: Connection settings</h3>
Determines which settings are used when connecting.
When checked, settings in the RemoteTCPInput GUI are written to the remote device upon connection.
When unchecked, if the remote server is using the SDRA protocol, the RemoteTCPInput GUI will be updated with the current settings from the remote device.
When unchecked, if the remote server is using the SDRangel protocol, the RemoteTCPInput GUI will be updated with the current settings from the remote device.
If the remote server is using the RTL0 protocol, the GUI will not be updated, which may mean the two are inconsistent.
<string>Channel shift frequency from center in Hz</string>
@ -686,7 +686,7 @@
@@ -686,7 +686,7 @@
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
@ -804,7 +804,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -804,7 +804,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
@ -866,7 +866,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -866,7 +866,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
<item>
<widget class="Line" name="line_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
</item>
@ -921,7 +921,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -921,7 +921,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
<item>
<widget class="Line" name="line_12">
<property name="orientation">
<enum>Qt::Vertical</enum>
<enum>Qt::Orientation::Vertical</enum>
</property>
</widget>
</item>
@ -959,7 +959,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -959,7 +959,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@ -973,7 +973,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -973,7 +973,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
<item>
<widget class="Line" name="line_13">
<property name="orientation">
<enum>Qt::Vertical</enum>
<enum>Qt::Orientation::Vertical</enum>
</property>
</widget>
</item>
@ -993,14 +993,14 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -993,14 +993,14 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
<item>
<widget class="Line" name="line_14">
<property name="orientation">
<enum>Qt::Vertical</enum>
<enum>Qt::Orientation::Vertical</enum>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
@ -1022,13 +1022,13 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -1022,13 +1022,13 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@ -1044,7 +1044,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -1044,7 +1044,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
<item>
<widget class="Line" name="line_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
</item>
@ -1065,6 +1065,12 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -1065,6 +1065,12 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@ -1110,7 +1116,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -1110,7 +1116,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
@ -1124,7 +1130,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -1124,7 +1130,7 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
<widget class="QComboBox" name="protocol">
<property name="minimumSize">
<size>
<width>92</width>
<width>110</width>
<height>0</height>
</size>
</property>
@ -1136,6 +1142,11 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
@@ -1136,6 +1142,11 @@ Use to ensure full dynamic range of 8-bit data is used.</string>
<string>SDRangel</string>
</property>
</item>
<item>
<property name="text">
<string>SDRangel wss</string>
</property>
</item>
<item>
<property name="text">
<string>Spy Server</string>
@ -1200,7 +1211,7 @@ When unchecked, if remote device is using SDRA protocol, local settings are upda
@@ -1200,7 +1211,7 @@ When unchecked, if remote device is using SDRA protocol, local settings are upda
<item>
<widget class="Line" name="line_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
<enum>Qt::Orientation::Vertical</enum>
</property>
</widget>
</item>
@ -1263,14 +1274,14 @@ When unchecked, if remote device is using SDRA protocol, local settings are upda
@@ -1263,14 +1274,14 @@ When unchecked, if remote device is using SDRA protocol, local settings are upda
@ -1328,7 +1339,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
@@ -1328,7 +1339,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
<item>
<widget class="Line" name="line_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
</item>
@ -1390,7 +1401,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
@@ -1390,7 +1401,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
<string>Messages</string>
</property>
<property name="movement">
<enum>QListView::Static</enum>
<enum>QListView::Movement::Static</enum>
</property>
</widget>
</item>
@ -1399,7 +1410,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
@@ -1399,7 +1410,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
<item>
<widget class="Line" name="line_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
</item>
@ -1427,7 +1438,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
@@ -1427,7 +1438,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
<number>500</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
</item>
@ -1504,7 +1515,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
@@ -1504,7 +1515,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
<item>
<widget class="Line" name="line_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
</item>
@ -1520,7 +1531,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
@@ -1520,7 +1531,7 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
<enum>Qt::Orientation::Vertical</enum>
</property>
</widget>
</item>
@ -1548,15 +1559,15 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
@@ -1548,15 +1559,15 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
<container>1</container>
</customwidget>
<customwidget>
<class>ValueDial</class>
<class>LevelMeterSignalDB</class>
<extends>QWidget</extends>
<header>gui/valuedial.h</header>
<header>gui/levelmeter.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>LevelMeterSignalDB</class>
<class>ValueDial</class>
<extends>QWidget</extends>
<header>gui/levelmeter.h</header>
<header>gui/valuedial.h</header>
<container>1</container>
</customwidget>
<customwidget>
@ -1583,10 +1594,23 @@ This should typically be empty. If full, your CPU cannot keep up and data will b
@@ -1583,10 +1594,23 @@ This should typically be empty. If full, your CPU cannot keep up and data will b