mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-08 00:44:48 -04:00
Websocket spectrum: server implementation
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "SWGGLSpectrum.h"
|
||||
#include "SWGSpectrumServer.h"
|
||||
#include "SWGSuccessResponse.h"
|
||||
|
||||
#include "glspectruminterface.h"
|
||||
#include "dspcommands.h"
|
||||
@@ -816,6 +817,7 @@ int SpectrumVis::webapiSpectrumServerPost(SWGSDRangel::SWGSuccessResponse& respo
|
||||
getMessageQueueToGUI()->push(msgToGui);
|
||||
}
|
||||
|
||||
response.setMessage(new QString("Websocket spectrum server started"));
|
||||
return 200;
|
||||
}
|
||||
|
||||
@@ -831,6 +833,7 @@ int SpectrumVis::webapiSpectrumServerDelete(SWGSDRangel::SWGSuccessResponse& res
|
||||
getMessageQueueToGUI()->push(msgToGui);
|
||||
}
|
||||
|
||||
response.setMessage(new QString("Websocket spectrum server stopped"));
|
||||
return 200;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user