EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D21459.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_D21459_H
29 #define EO_EEP_D21459_H
30 
33 #include "eoD2EEProfile.h"
74  typedef enum
75  {
76  D21459_H = 0,
77  D21459_HCH0 = 1,
78  D21459_T = 2,
79  D21459_TCH0 = 3,
80  D21459_P10 = 4,
81  D21459_P10CH0 = 5,
82  D21459_P2_5 = 6,
83  D21459_P2_5CH0 = 7,
84  D21459_P1 = 8,
85  D21459_P1CH0 = 9,
86  D21459_HCHO = 10,
87  D21459_HCHOCH0 = 11,
88  D21459_TVOC = 12,
89  D21459_TVOCCH0 = 13,
90  D21459_C = 14,
91  D21459_CCH0 = 15,
92  }D21459_CHANNELS;
93 
97  typedef enum
98  {
99  D21459_H_SENSOR_NOT_PRESENT = 255,
100  }D21459_H_ENUM;
101 
102  typedef enum
103  {
104  D21459_T_SENSOR_NOT_PRESENT = 1023,
105  }D21459_T_ENUM;
106 
107  typedef enum
108  {
109  D21459_P10_SENSOR_NOT_PRESENT = 511,
110  }D21459_P10_ENUM;
111 
112 
113  typedef enum
114  {
115  D21459_P2_5_SENSOR_NOT_PRESENT = 511,
116  }D21459_P2_5_ENUM;
117 
118  typedef enum
119  {
120  D21459_P1_SENSOR_NOT_PRESENT = 511,
121  }D21459_P1_ENUM;
122 
123 
124  typedef enum
125  {
126  D21459_HCHO_SENSOR_NOT_PRESENT = 2047,
127  }D21459_HCHO_ENUM;
128 
129 
130  typedef enum
131  {
132  D21459_TVOC_SENSOR_NOT_PRESENT = 65535,
133  }D21459_TVOC_ENUM;
134 
135 
136  typedef enum
137  {
138  D21459_C_SENSOR_NOT_PRESENT = 16383,
139  }D21459_C_ENUM;
140 
141 
143 {
144 
145 public:
146  eoReturn SetType(uint8_t type);
147 
148 
149 
150 
151 
152  eoEEP_D21459(uint16_t size=14);
153  virtual ~eoEEP_D21459();
154 };
157 #endif // !eoEEP_D21459
eoReturn SetType(uint8_t type)
uint8_t type
Type.
Definition: eoProfile.h:69
The class to handle eoEEP_D21459.
Definition: eoEEP_D21459.h:142
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96