Dependencies:   BufferedSerial analogAverager voltageRegulator netStatReg analogMinMax CounterMinMax

Revision:
6:9f97716eae76
Parent:
5:c656fd08007b
Child:
7:be13a9037d41
diff -r c656fd08007b -r 9f97716eae76 netdevices.h
--- a/netdevices.h	Thu Sep 19 16:48:15 2019 +0000
+++ b/netdevices.h	Thu Sep 19 18:14:31 2019 +0000
@@ -11,15 +11,22 @@
     TCPServer srv;
     TCPSocket clt_sock;
     SocketAddress clt_addr;
-    EthernetInterface *eth;
-    unsigned int tcpport;
-    bool isactive;
-    bool closeconnection;
+    unsigned int srvPort;
+    bool srvIsActive;
+    bool srvCloseConnection;
     unsigned int aliveTime;
+    unsigned int aliveTimeout;
+    
+    TCPSocket srv_sock;
+    unsigned int cltPort;
+    char* srv_addr;
+    bool cltIsActive;
+    bool cltCloseConnection;
     unsigned int pollTimeout;
     unsigned int pollTime;
     unsigned int pollInterval;
     unsigned int pollState;
+    
     bool pollRetry;
     bool sendRetry;
     bool connectRetry;