aboutsummaryrefslogtreecommitdiff
path: root/client/Client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/Client.h')
-rw-r--r--client/Client.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/client/Client.h b/client/Client.h
index 38419a8..f675a89 100644
--- a/client/Client.h
+++ b/client/Client.h
@@ -8,6 +8,7 @@
#include <QSqlQuery>
#include "HandleMessage.h"
+#include "../shared/wifi.h"
// class client for wheather station
class Client : public QObject
@@ -31,15 +32,12 @@ private:
// qint16 currentMinute; // timing for currentMinute
HandleMessage Handlemsg; // add HandleMessage to Client.h
- int tcpPortAddress = 80; // port of communication via tcp
- QString networkAddress = "192.168.137.76"; // network address for commincation via tcp
+ int tcpPortAddress = WS_SERVER_PORT; // port of communication via tcp
+ QString networkAddress = WS_ESP8266_WLAN_IP; // network address for commincation via tcp
QString msg = "last-records "; // part of mesage to send to wheather staion
char totalRecords = '1'; // total records to ask wheather station
char offsetRecords = '0'; // offset from reqeusting records
-
-
-
};
#endif // CLIENT_H