EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D220xx.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 #if !defined(eoEEP_D220_H__INCLUDED_)
29 #define eoEEP_D220_H__INCLUDED_
30 
33 #include "eoD2EEProfile.h"
107 typedef enum
109 {
111  OP_MODE = 0x00,
113  TEMP_LEVEL = 0x01,
122 } VLD_FC_INDEXS;
123 
125 typedef enum
126 {
134 
136 typedef enum
137 {
147 
149 typedef enum
150 {
160 
162 typedef enum
163 {
165  ROOM_SIZE_25 = 0x00,
197 
199 typedef enum
200 {
207 } VLD_FC_STAGE;
208 
210 typedef enum
211 {
219 
221 typedef enum
222 {
232 
234 {
235 private:
236  uint8_t direction;
237  eoReturn IsHumidityFanValueValid(uint32_t value);
238  eoReturn IsHumidityFanValueDir0Valid(uint32_t value);
239  eoReturn IsHumidityFanValueDir1Valid(uint32_t value);
240 
241 public:
242  eoReturn SetType(uint8_t type);
243  eoReturn Parse(const eoMessage &msg);
248  eoEEP_D220xx(uint16_t size = 4);
249  virtual ~eoEEP_D220xx();
250  virtual eoReturn GetValue(CHANNEL_TYPE type, uint32_t &value, uint8_t index);
251  virtual eoReturn SetValue(CHANNEL_TYPE type, uint32_t value, uint8_t index);
252 
253  eoChannelInfo* GetChannel(CHANNEL_TYPE type, uint8_t index);
254 };
257 #endif // !defined(EA_259BDE62_FE41_490e_8B3E_427A72922C4A__INCLUDED_)
> 375 m² 14
Definition: eoEEP_D220xx.h:193
275...300 m² 11
Definition: eoEEP_D220xx.h:187
eoReturn SetType(uint8_t type)
Air filter error 1
Definition: eoEEP_D220xx.h:226
eoChannelInfo * GetChannel(CHANNEL_TYPE type, uint8_t index)
Operating Mode 0
Definition: eoEEP_D220xx.h:111
300...325 m² 12
Definition: eoEEP_D220xx.h:189
VLD_FC_SERVICE_INFORMATION
Service information enums.
Definition: eoEEP_D220xx.h:221
uint8_t type
Type.
Definition: eoProfile.h:69
eoEEP_D220xx(uint16_t size=4)
Too High 2
Definition: eoEEP_D220xx.h:143
eoMessage msg
helper function to convert bits
Definition: eoProfile.h:302
Default 2
Definition: eoEEP_D220xx.h:156
Not Used 1
Definition: eoEEP_D220xx.h:154
Message Class for communication.
Definition: eoMessage.h:47
Temperature Level 1
Definition: eoEEP_D220xx.h:113
No Change 3
Definition: eoEEP_D220xx.h:145
Used 0
Definition: eoEEP_D220xx.h:152
75...100 m² 3
Definition: eoEEP_D220xx.h:171
Fan speed - No changed 255
Definition: eoEEP_D220xx.h:206
The class to handle EEP D220 profiles.
Definition: eoEEP_D220xx.h:233
Not supported 7
Definition: eoEEP_D220xx.h:230
Humidity Threshold 4
Definition: eoEEP_D220xx.h:119
Standard Compliant 1
Definition: eoEEP_D220xx.h:130
eoReturn Parse(const eoMessage &msg)
Parses a msg using learned in Profile from Device.
25...50 m² 1
Definition: eoEEP_D220xx.h:167
Abstract class for channel information. Abstract class for channel information. From this class speci...
Definition: eoChannelInfo.h:77
Fan speed - Default 254
Definition: eoEEP_D220xx.h:204
Disabled 0
Definition: eoEEP_D220xx.h:213
Enabled 1
Definition: eoEEP_D220xx.h:215
150...175 m² 6
Definition: eoEEP_D220xx.h:177
175...200 m² 7
Definition: eoEEP_D220xx.h:179
< 25 m² 0
Definition: eoEEP_D220xx.h:165
VLD_FC_TEMP_LEVEL
Temperature level enums.
Definition: eoEEP_D220xx.h:136
Nothing to report 0
Definition: eoEEP_D220xx.h:224
No Change 3
Definition: eoEEP_D220xx.h:158
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
Disabled 0
Definition: eoEEP_D220xx.h:128
VLD_FC_ROOM_SIZE
Room size enums.
Definition: eoEEP_D220xx.h:162
VLD_FC_INDEXS
Index enums for D2-20-xx profiles.
Definition: eoEEP_D220xx.h:108
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96
VLD_FC_ROOM_SIZE_REF
Room size reference enums.
Definition: eoEEP_D220xx.h:149
No Change 15
Definition: eoEEP_D220xx.h:195
No Change 15
Definition: eoEEP_D220xx.h:132
Service Information 5
Definition: eoEEP_D220xx.h:121
CHANNEL_TYPE
Definition: eoChannelEnums.h:169
200...225 m² 8
Definition: eoEEP_D220xx.h:181
VLD_FC_OP_MODE
Operating mode enums.
Definition: eoEEP_D220xx.h:125
Too Low 0
Definition: eoEEP_D220xx.h:139
125...150 m² 5
Definition: eoEEP_D220xx.h:175
Hardware error 2
Definition: eoEEP_D220xx.h:228
VLD_FC_STAGE
Fan speed stage enums.
Definition: eoEEP_D220xx.h:199
225...250 m² 9
Definition: eoEEP_D220xx.h:183
100...125 m² 4
Definition: eoEEP_D220xx.h:173
325...350 m² 13
Definition: eoEEP_D220xx.h:191
50...75 m² 2
Definition: eoEEP_D220xx.h:169
Normal 1
Definition: eoEEP_D220xx.h:141
Room Size Reference 3
Definition: eoEEP_D220xx.h:117
Humidity Control 2
Definition: eoEEP_D220xx.h:115
250...275 m² 10
Definition: eoEEP_D220xx.h:185
VLD_FC_RELHUM_CONTROL
Humidity control enums.
Definition: eoEEP_D220xx.h:210
Default 2
Definition: eoEEP_D220xx.h:217
Fan speed - Auto 253
Definition: eoEEP_D220xx.h:202