1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

RemoteInput

Set default value of API port to 8091, as used elsewhere.
Fix spelling mistakes in readme.
Update tooltip to clarify data address is for reception.
This commit is contained in:
Jon Beniston
2021-11-01 10:50:42 +00:00
parent f04741d692
commit 499b051f38
3 changed files with 8 additions and 10 deletions
@@ -26,7 +26,7 @@ RemoteInputSettings::RemoteInputSettings()
void RemoteInputSettings::resetToDefaults()
{
m_apiAddress = "127.0.0.1";
m_apiPort = 9091;
m_apiPort = 8091;
m_dataAddress = "127.0.0.1";
m_dataPort = 9090;
m_multicastAddress = "224.0.0.1";
@@ -76,9 +76,9 @@ bool RemoteInputSettings::deserialize(const QByteArray& data)
d.readString(3, &m_multicastAddress, "224.0.0.1");
d.readBool(4, &m_multicastJoin, false);
d.readString(5, &m_apiAddress, "127.0.0.1");
d.readU32(6, &uintval, 9090);
d.readU32(6, &uintval, 8091);
m_apiPort = uintval % (1<<16);
d.readU32(7, &uintval, 9091);
d.readU32(7, &uintval, 9090);
m_dataPort = uintval % (1<<16);
d.readString(8, &m_dataAddress, "127.0.0.1");
d.readBool(9, &m_dcBlock, false);