EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D2145B.h
Go to the documentation of this file.
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_D2145B_H
29 #define EO_EEP_D2145B_H
30 
33 #include "eoD2EEProfile.h"
77  typedef enum
78  {
79  D2145B_T = 0,
80  D2145B_TCH0 = 1,
81  D2145B_B = 2,
82  D2145B_BCH0 = 3,
83  D2145B_PM1 = 4,
84  D2145B_PM1CH0 = 5,
85  D2145B_PM2_5 = 6,
86  D2145B_PM2_5CH0 = 7,
87  D2145B_PM10 = 8,
88  D2145B_PM10CH0 = 9,
89  D2145B_NA = 10,
90  D2145B_NACH0 = 11,
91  D2145B_NP = 12,
92  D2145B_NPCH0 = 13,
93  D2145B_NL = 14,
94  D2145B_NLCH0 = 15,
95  D2145B_NU = 16,
96  D2145B_H = 18,
97  D2145B_HCH0 = 19
99 
103  typedef enum
104  {
105  D2145B_T_SATURATION = 801,
106  D2145B_T_SENSOR_ERROR = 802,
107  D2145B_T_SENSOR_NOT_PRESENT = 1023,
108  } D2145B_T_ENUM;
109 
110  typedef enum
111  {
112  D2145B_B_SATURATION = 1001,
113  D2145B_B_SENSOR_ERROR = 1002,
114  D2145B_B_SENSOR_NOT_PRESENT = 1023,
115  } D2145B_B_ENUM;
116 
117  typedef enum
118  {
119  D2145B_PM1_SATURATION = 1001,
120  D2145B_PM1_SENSOR_ERROR = 1002,
121  D2145B_PM1_SENSOR_NOT_PRESENT = 1023,
122  } D2145B_PM1_ENUM;
123 
124  typedef enum
125  {
126  D2145B_PM2_5_SATURATION = 1001,
127  D2145B_PM2_5_SENSOR_ERROR = 1002,
128  D2145B_PM2_5_SENSOR_NOT_PRESENT = 1023,
129  } D2145B_PM2_5_ENUM;
130 
131  typedef enum
132  {
133  D2145B_PM10_SATURATION = 1001,
134  D2145B_PM10_SENSOR_ERROR = 1002,
135  D2145B_PM10_SENSOR_NOT_PRESENT = 1023,
136  } D2145B_PM10_ENUM;
137 
138 
139  typedef enum
140  {
141  D2145B_NA_SATURATION = 201,
142  D2145B_NA_SENSOR_ERROR = 202,
143  D2145B_NA_SENSOR_NOT_PRESENT = 255,
144  } D2145B_NA_ENUM;
145 
146  typedef enum
147  {
148  D2145B_NP_SATURATION = 201,
149  D2145B_NP_SENSOR_ERROR = 202,
150  D2145B_NP_SENSOR_NOT_PRESENT = 255,
151  } D2145B_NP_ENUM;
152 
153  typedef enum
154  {
155  D2145B_NL_SENSOR_ERROR = 182,
156  D2145B_NL_SENSOR_NOT_PRESENT = 255,
157  } D2145B_N_ENUM;
158 
159  typedef enum
160  {
161  D2145B_NU_DB = 0,
162  D2145B_NU_DBA = 1,
163  } D2145B_NU_ENUM;
164 
165  typedef enum
166  {
167  D2145B_H_SENSOR_ERROR = 102,
168  D2145B_H_SENSOR_NOT_PRESENT = 127,
169  } D2145B_H_ENUM;
170 
171 
173 {
174 
175 public:
176  eoReturn SetType(uint8_t type);
177 
178  eoEEP_D2145B(uint16_t size=14);
179  virtual ~eoEEP_D2145B();
180 };
183 #endif // !eoEEP_D2145B
uint8_t type
Type.
Definition: eoProfile.h:69
eoReturn SetType(uint8_t type)
D2145B_CHANNELS
Definition: eoEEP_D2145B.h:77
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96
The class to handle eoEEP_D2145B.
Definition: eoEEP_D2145B.h:172
D2145B_T_ENUM
Definition: eoEEP_D2145B.h:103