Fix bugs and improve logging.

This commit is contained in:
Jonathan Naylor
2017-04-27 20:39:46 +01:00
parent 315f189a80
commit ee978a6521
5 changed files with 31 additions and 27 deletions

View File

@@ -30,7 +30,7 @@
class CDMRNetwork
{
public:
CDMRNetwork(const std::string& address, unsigned int port, unsigned int local, unsigned int id, const std::string& password, bool debug);
CDMRNetwork(const std::string& address, unsigned int port, unsigned int local, unsigned int id, const std::string& password, char* name, bool debug);
~CDMRNetwork();
void setOptions(const std::string& options);
@@ -54,6 +54,7 @@ private:
unsigned int m_port;
uint8_t* m_id;
std::string m_password;
char* m_name;
bool m_debug;
CUDPSocket m_socket;