S5-P05 / ConfigurationFile

Dependencies:   ConfigFile

Dependents:   Ethernet

Revision:
1:5b6c5c2a33d0
Parent:
0:1405a58a7e8d
Child:
2:5af11ca8e085
--- a/ConfigurationFile.h	Sun Apr 03 15:44:20 2016 +0000
+++ b/ConfigurationFile.h	Mon Apr 04 22:04:09 2016 +0000
@@ -4,7 +4,6 @@
 #include "mbed.h"
 #include "ConfigFile.h"
 #include "ConfigurationFile.h"
-#include "PC_Comm.h"
 #include <string>
 
 class ConfigurationFile{
@@ -14,23 +13,29 @@
         void readServerEthernetConfiguration();
         void readNodeEthernetConfiguration();
         void readConfigurationFile(char *pathName);
+        void getServerConfiguration();
+        void getNodeConfiguration();
         
         string getIP();
-        void setMask();
         string getMask();
         string getGateway();
         string getURL();
+        string getServerAddress();
         
     private:
         ConfigFile cfg;
-        Serial *pc;
+        
         string ip;
         string mask;
         string gateway;
+        string serverAddress; 
         string url;
+        
         void setIP();
+        void setMask();
         void setGateway();
         void setURL();
+        void setServerAddress();
 };
 
 #endif
\ No newline at end of file