Merge branch 'master' into M17_AX25_FM

This commit is contained in:
Jonathan Naylor
2021-03-22 22:14:54 +00:00
21 changed files with 90 additions and 10 deletions

View File

@@ -24,6 +24,8 @@
#include <vector>
#include <string>
class CMMDVMHost;
enum REMOTE_COMMAND {
RCD_NONE,
RCD_MODE_IDLE,
@@ -53,12 +55,13 @@ enum REMOTE_COMMAND {
RCD_DISABLE_AX25,
RCD_PAGE,
RCD_CW,
RCD_RELOAD
RCD_RELOAD,
RCD_CONNECTION_STATUS
};
class CRemoteControl {
public:
CRemoteControl(const std::string address, unsigned int port);
CRemoteControl(class CMMDVMHost *host, const std::string address, unsigned int port);
~CRemoteControl();
bool open();
@@ -74,6 +77,7 @@ public:
void close();
private:
CMMDVMHost* m_host;
CUDPSocket m_socket;
REMOTE_COMMAND m_command;
std::vector<std::string> m_args;