Add the repeater callsign to the FM start message.

This commit is contained in:
Jonathan Naylor 2024-05-24 10:24:09 +01:00
parent 474e9fdbb7
commit e12b2b9994
5 changed files with 25 additions and 15 deletions

View file

@ -32,7 +32,7 @@
class CFMNetwork {
public:
CFMNetwork(const std::string& localAddress, unsigned short localPort, const std::string& gatewayAddress, unsigned short gatewayPort, bool debug);
CFMNetwork(const std::string& callsign, const std::string& localAddress, unsigned short localPort, const std::string& gatewayAddress, unsigned short gatewayPort, bool debug);
~CFMNetwork();
bool open();
@ -52,6 +52,7 @@ public:
void clock(unsigned int ms);
private:
std::string m_callsign;
CUDPSocket m_socket;
sockaddr_storage m_addr;
unsigned int m_addrLen;