mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Merge branch 'master' into M17_AX25_FM
This commit is contained in:
commit
69a4fdd23c
21 changed files with 90 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue