EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D21457.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_D21457_H
29 #define EO_EEP_D21457_H
30 
33 #include "eoD2EEProfile.h"
95  typedef enum
96  {
97  D21457_S4 = 0,
98  D21457_S3 = 1,
99  D21457_S2 = 2,
100  D21457_S1 = 3,
101  D21457_V = 4,
102  D21457_VCH0 = 5,
103  D21457_O8 = 6,
104  D21457_O7 = 7,
105  D21457_O6 = 8,
106  D21457_O5 = 9,
107  D21457_O4 = 10,
108  D21457_O3 = 11,
109  D21457_O2 = 12,
110  D21457_O1 = 13,
111  D21457_D4 = 14,
112  D21457_DCH4 = 15,
113  D21457_D3 = 16,
114  D21457_DCH3 = 17,
115  D21457_D2 = 18,
116  D21457_DCH2 = 19,
117  D21457_D1 = 20,
118  D21457_DCH1 = 21,
119  D21457_T = 22,
120  D21457_TCH0 = 23,
121  D21457_I = 24,
122  D21457_ICH0 = 25,
123  D21457_SS = 26,
124  D21457_SSCH0 = 27,
125  D21457_H = 28,
126  D21457_HCH0 = 29,
127  D21457_CT4 = 30,
128  D21457_CCH4 = 31,
129  D21457_CT3 = 32,
130  D21457_CCH3 = 33,
131  D21457_CT2 = 34,
132  D21457_CCH2 = 35,
133  D21457_CT1 = 36,
134  D21457_CCH1 = 37,
135  }D21457_CHANNELS;
136 
140  typedef enum
141  {
142  D21457_S_INACTIVE = 0,
143  D21457_S_ACTIVE = 1,
144  }D21457_S_ENUM;
145  typedef enum
146  {
147  D21457_V_OUT_OF_RANGE = 4093,
148  D21457_V_INVALID = 4094,
149  D21457_V_NOT_SUPPORTED = 4095,
150  }D21457_V_ENUM;
151  typedef enum
152  {
153  D21457_O_NOT_UNOCCUPIED = 0,
154  D21457_O_OCCUPIED = 1,
155  }D21457_O_ENUM;
156  typedef enum
157  {
158  D21457_D_INVALID = 254,
159  D21457_D_NOT_SUPPORTED = 255,
160  }D21457_D_ENUM;
161  typedef enum
162  {
163  D21457_T_OUT_OF_RANGE = 253,
164  D21457_T_INVALID = 254,
165  D21457_T_NOT_SUPPORTED = 255,
166  }D21457_T_ENUM;
167  typedef enum
168  {
169  D21457_I_OUT_OF_RANGE = 65533,
170  D21457_I_INVALID = 65534,
171  D21457_I_NOTSUPPORTED = 65535,
172  }D21457_I_ENUM;
173  typedef enum
174  {
175  D21457_SS_OUT_OF_RANGE = 253,
176  D21457_SS_INVALID = 254,
177  D21457_SS_NOT_SUPPORTED = 255,
178  }D21457_SS_ENUM;
179  typedef enum
180  {
181  D21457_H_INVALID = 254,
182  D21457_H_NOT_SUPPORTED = 255,
183  }D21457_H_ENUM;
184  typedef enum
185  {
186  D21457_CT_INVALID = 14,
187  D21457_CT_NOT_SUPPORTED = 15,
188  }D21457_CT_ENUM;
189 
190 
192 {
193 
194 public:
195  eoReturn SetType(uint8_t type);
196 
197 
198 
199 
200 
201  eoEEP_D21457(uint16_t size=14);
202  virtual ~eoEEP_D21457();
203 };
206 #endif // !eoEEP_D21457
eoReturn SetType(uint8_t type)
uint8_t type
Type.
Definition: eoProfile.h:69
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_D21457.
Definition: eoEEP_D21457.h:191