Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
133:3d136f5ffd66
Parent:
132:05cd37f7e007
Child:
135:2f4290590e51
--- a/config_manager.h	Tue Sep 01 17:21:11 2015 +0000
+++ b/config_manager.h	Tue Sep 01 19:33:11 2015 +0000
@@ -81,6 +81,8 @@
 
 const uint8_t u8_IP_LENGTH = 46;
 
+const uint8_t u8_ACCEPTABLE_DELAY = 240;
+
 class ConfigManager
 {
     private :
@@ -114,6 +116,7 @@
         bool boolMin_ext_was_modified;
         bool boolShift_port_was_modified;
         char chClock_erver_ip [ u8_IP_LENGTH ];
+        uint8_t u8Acceptable_delay;
         
 
     public  :
@@ -127,6 +130,7 @@
         char * get_fw_server_ip ( char * buffer );
         char * get_clock_server_ip ( char * buffer );
 
+        uint8_t get_acceptable_delay ( void );
         uint16_t get_ext ( void );
         uint16_t get_port ( void );
         uint16_t get_server_ext ( void );
@@ -170,6 +174,7 @@
         void set_tcp_port_listener ( const uint16_t new_tcp_port_listener );
         void set_modified_true ( void );
         void set_modified_false ( void );
+        void set_acceptable_delay ( const uint8_t new_acceptable_delay );
         
         void restore_defaults_settings ( void );
 };