Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
135:2f4290590e51
Parent:
133:3d136f5ffd66
diff -r 395678c651d8 -r 2f4290590e51 config_manager.h
--- a/config_manager.h	Tue Sep 01 19:34:34 2015 +0000
+++ b/config_manager.h	Thu Sep 10 20:11:35 2015 +0000
@@ -83,6 +83,12 @@
 
 const uint8_t u8_ACCEPTABLE_DELAY = 240;
 
+const uint8_t u8_FIBRA_MODE = 0x46; // ascii F
+
+const uint8_t u8_RADIO_MODE = 0x52; // ascii R
+
+const uint8_t u8_CUSTOM_MODE = 0x43; // ascii C
+
 class ConfigManager
 {
     private :
@@ -115,9 +121,13 @@
         bool boolMax_ext_was_modified;
         bool boolMin_ext_was_modified;
         bool boolShift_port_was_modified;
+        bool boolCallBoxDetachMode;
+        bool boolCallBoxWakeMode;
+        uint8_t u8CallBoxMode;
         char chClock_erver_ip [ u8_IP_LENGTH ];
         uint8_t u8Acceptable_delay;
         
+        void cbx_custom_mode_check ( void );
 
     public  :
         ConfigManager ( void );
@@ -156,6 +166,9 @@
         bool max_ext_was_modified ( void );
         bool min_ext_was_modified ( void );
         bool shift_port_was_modified ( void );
+        bool get_cbx_detach_mode ( void );
+        bool get_cbx_wake_mode ( void );
+        uint8_t get_cbx_mode ( void );
         
         void set_header_ip ( const char * new_header_ip );
         void set_server_ip ( const char * new_server_ip );
@@ -175,6 +188,9 @@
         void set_modified_true ( void );
         void set_modified_false ( void );
         void set_acceptable_delay ( const uint8_t new_acceptable_delay );
+        void set_cbx_detach_mode ( const bool new_cbx_detach_mode );
+        void set_cbx_wake_mode ( const bool new_cbx_wake_mode );
+        void set_cbx_mode ( const uint8_t new_cbx_mode );
         
         void restore_defaults_settings ( void );
 };