1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Web API: file source settings getter (1)

This commit is contained in:
f4exb
2017-12-06 19:23:42 +01:00
parent d6b156a8d3
commit fc4627f82e
17 changed files with 2648 additions and 2965 deletions
+5
View File
@@ -604,6 +604,11 @@ void WebAPIRequestMapper::devicesetDeviceService(const std::string& indexStr, qt
else if (request.getMethod() == "GET")
{
SWGSDRangel::SWGDeviceSettings normalResponse;
normalResponse.cleanup();
normalResponse.setFileSourceSettings(0);
normalResponse.setRtlSdrSettings(0);
normalResponse.setLimeSdrInputSettings(0);
normalResponse.setLimeSdrOutputSettings(0);
int status = m_adapter->devicesetDeviceGet(deviceSetIndex, normalResponse, errorResponse);
response.setStatus(status);