Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ConfigFile
ConfigurationFile.h
- Committer:
- 13075593
- Date:
- 2016-04-06
- Revision:
- 2:5af11ca8e085
- Parent:
- 1:5b6c5c2a33d0
- Child:
- 3:7177e463ac52
File content as of revision 2:5af11ca8e085:
#ifndef CONFIGURATION_FILE_H #define CONFIGURATION_FILE_H #include "mbed.h" #include "ConfigFile.h" #include "ConfigurationFile.h" #include <string> class ConfigurationFile{ public: ConfigurationFile(); ~ConfigurationFile(); void readServerEthernetConfiguration(); void readNodeEthernetConfiguration(); void readConfigurationFile(char *pathName); void getServerConfiguration(); void getNodeConfiguration(); string getIP(); string getMask(); string getGateway(); string getURL(); string getBroadcastAddress(); private: ConfigFile cfg; string ip; string mask; string gateway; string broadcastAddress; string url; void setIP(); void setMask(); void setGateway(); void setURL(); void setBroadcastAddress(); }; #endif