Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
106:c0ddba334e93
Parent:
104:ddf0a8bdaad7
Child:
107:e900bd138bf3
--- a/inc/global.h	Thu Sep 22 12:15:24 2016 +0000
+++ b/inc/global.h	Thu Sep 22 14:49:32 2016 +0000
@@ -128,10 +128,20 @@
     EVENT_REASON_FAILSAFE,
 } EventReason_t;
 
+typedef enum control_type_tag {
+    CONTROL_TYPE_INHIBITOR,
+    CONTROL_TYPE_ACID_BASE,
+    CONTROL_TYPE_BLOWDOWN,
+    CONTORL_TYPE_TIMER,
+    CONTROL_TYPE_FLOW_OVERRIDE,
+    CONTROL_TYPE_OVERRIDE
+} ControlType_t;
+
 typedef struct event_reason_struct_t {
+    ControlType_t   controlType;
     EventReason_t   eventReason;
     char            inputTag[32];
-    char            outputTag[12];
+    char            outputTag[32];
     float           inputValue;
     float           outputValue;          
 } EventReasonStruct_t;