EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D2145C.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_D2145C_H
29 #define EO_EEP_D2145C_H
30 
33 #include "eoD2EEProfile.h"
77  typedef enum
78  {
79  D2145C_T = 0,
80  D2145C_TCH0 = 1,
81  D2145C_H = 2,
82  D2145C_HCH0 = 3,
83  D2145C_PM10 = 4,
84  D2145C_PM10CH0 = 5,
85  D2145C_PM4 = 6,
86  D2145C_PM4CH0 = 7,
87  D2145C_PM2_5 = 8,
88  D2145C_PM2_5CH0 = 9,
89  D2145C_PM1 = 10,
90  D2145C_PM1CH0 = 11,
91  D2145C_C = 12,
92  D2145C_CCH0 = 13,
93  D2145C_VU = 14,
94  D2145C_V = 15,
95  D2145C_VCH0 = 16,
96  }D2145C_CHANNELS;
97 
101  typedef enum
102  {
103  D2145C_T_SENSOR_NOT_PRESENT = 255,
104  }D2145C_T_ENUM;
105 
106  typedef enum
107  {
108  D2145C_H_SENSOR_NOT_PRESENT = 255,
109  }D2145C_H_ENUM;
110 
111  typedef enum
112  {
113  D2145C_PM10_SENSOR_NOT_PRESENT = 511,
114  }D2145C_PM10_ENUM;
115 
116  typedef enum
117  {
118  D2145C_PM4_SENSOR_NOT_PRESENT = 511,
119  }D2145C_PM4_ENUM;
120 
121  typedef enum
122  {
123  D2145C_PM2_5_SENSOR_NOT_PRESENT = 511,
124  }D2145C_PM2_5_ENUM;
125 
126  typedef enum
127  {
128  D2145C_PM1_SENSOR_NOT_PRESENT = 511,
129  }D2145C_PM1_ENUM;
130 
131 
132  typedef enum
133  {
134  D2145C_CO2_SENSOR_NOT_PRESENT = 65535,
135  }D2145C_CO2_ENUM;
136 
137  typedef enum
138  {
139  D2145C_VU_TVOC_UGM3 = 0,
140  D2145C_VU_TVOC_PPB = 1,
141  D2145C_VU_VOC_INDEX = 2
142  }D2145C_VU_ENUM;
143 
144  typedef enum
145  {
146  D2145C_V_SENSOR_NOT_PRESENT = 16383,
147  }D2145C_V_ENUM;
148 
149 
151 {
152 
153 public:
154  eoReturn SetType(uint8_t type);
155 
156 
157 
158 
159 
160  eoEEP_D2145C(uint16_t size=14);
161  virtual ~eoEEP_D2145C();
162 };
165 #endif // !eoEEP_D2145C
eoReturn SetType(uint8_t type)
uint8_t type
Type.
Definition: eoProfile.h:69
The class to handle eoEEP_D2145C.
Definition: eoEEP_D2145C.h:150
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96