EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D21431.h
1 /******************************************************************************
2  DISCLAIMER
3 
4  THIS SOFTWARE PRODUCT ("SOFTWARE") IS PROPRIETARY TO ENOCEAN GMBH, OBERHACHING,
5  GERMANY (THE "OWNER") AND IS PROTECTED BY COPYRIGHT AND INTERNATIONAL TREATIES OR
6  PROTECTED AS TRADE SECRET OR AS OTHER INTELLECTUAL PROPERTY RIGHT. ALL RIGHTS, TITLE AND
7  INTEREST IN AND TO THE SOFTWARE, INCLUDING ANY COPYRIGHT, TRADE SECRET OR ANY OTHER
8  INTELLECTUAL PROPERTY EMBODIED IN THE SOFTWARE, AND ANY RIGHTS TO REPRODUCE,
9  DISTRIBUTE, MODIFY, DISPLAY OR OTHERWISE USE THE SOFTWARE SHALL EXCLUSIVELY VEST IN THE
10  OWNER. ANY UNAUTHORIZED REPRODUCTION, DISTRIBUTION, MODIFICATION, DISPLAY OR OTHER
11  USE OF THE SOFTWARE WITHOUT THE EXPLICIT PERMISSION OF OWNER IS PROHIBITED AND WILL
12  CONSTITUTE AN INFRINGEMENT OF THE OWNER'S RIGHT AND MAY BE SUBJECT TO CIVIL OR
13  CRIMINAL SANCTION.
14 
15  THIS SOFTWARE IS PROVIDED BY THE OWNER "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
16  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
17  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN PARTICULAR, THE OWNER DOES NOT WARRANT
18  THAT THE SOFTWARE SHALL BE ERROR FREE AND WORKS WITHOUT INTERRUPTION.
19 
20  IN NO EVENT SHALL THE OWNER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  ******************************************************************************/
27 
28 #ifndef EO_EEP_D21431_H
29 #define EO_EEP_D21431_H
30 
33 #include "eoD2EEProfile.h"
73 typedef enum
74 {
75  D21431_COA = 0,
76  D21431_COACH0 = 1,
77  D21431_ES = 2,
78  D21431_RPLT = 3,
79  D21431_RPLTCH0 = 4,
80  D21431_CO = 5,
81  D21431_COCH0 = 6,
82  D21431_TMP8 = 7,
83  D21431_TMP8CH0 = 8,
84  D21431_HUM = 9,
85  D21431_HUMCH0 = 10,
86  D21431_HCI = 11,
87  D21431_IAQTH = 12,
88  D21431_IAQCO = 13,
89 } D21431_CHANNELS;
90 
94 typedef enum
95 {
96  D21431_COA_SENSOR_FAULT_MODE_NON_ACTIVATED = 0,
97  D21431_COA_SENSOR_FAULT_MODE_ACTIVATED = 1,
98  D21431_COA_ERROR = 255,
99 } D21431_COA_ENUM;
100 typedef enum
101 {
102  D21431_RPLT_ERROR = 255,
103 } D21431_RPLT_ENUM;
104 typedef enum
105 {
106  D21431_CO_ERROR = 255,
107 } D21431_CO_ENUM;
108 typedef enum
109 {
110  D21431_TMP8_ERROR = 255,
111 } D21431_TMP8_ENUM;
112 typedef enum
113 {
114  D21431_HUM_ERROR = 255,
115 } D21431_HUM_ENUM;
116 typedef enum
117 {
118  D21431_HCI_GOOD = 0,
119  D21431_HCI_MEDIUM = 1,
120  D21431_HCI_BAD = 2,
121  D21431_HCI_ERROR = 3,
122 } D21431_HCI_ENUM;
123 typedef enum
124 {
125  D21431_IAQTH_OPTIMAL_AIR_RANGE = 0,
126  D21431_IAQTH_DRY_AIR_RANGE = 1,
127  D21431_IAQTH_HIGH_HUMIDITY_RANGE = 2,
128  D21431_IAQTH_HIGH_TEMPERATURE_AND_HUMIDITY_RANGE = 3,
129  D21431_IAQTH_TEMPERATURE_OR_HUMIDITY_OUT_OF_ANALYSIS_RANGE = 4,
130  D21431_IAQTH_ERROR = 7,
131 } D21431_IAQTH_ENUM;
132 
133 
135 {
136 
137 public:
138  eoReturn SetType(uint8_t type);
139 
140 
141 
142 
143 
144  eoEEP_D21431(uint16_t size=14);
145  virtual ~eoEEP_D21431();
146 };
149 #endif // !eoEEP_D21431
The class to handle eoEEP_D21431.
Definition: eoEEP_D21431.h:134
uint8_t type
Type.
Definition: eoProfile.h:69
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
eoReturn SetType(uint8_t type)
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96