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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user