mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Merge branch 'master' into M17_AX25_FM
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user