EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D250xx.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_D250_H__INCLUDED_)
29 #define eoEEP_D250_H__INCLUDED_
30 
33 #include "eoD2EEProfile.h"
104 typedef enum
106 {
116 
118 typedef enum
119 {
125  OP_MODE_CTRL = 0x02,
131  SAFTEY_MODE = 0x05,
137  DEFROST_MODE = 0x08,
161  OUTDOOR_TEMP = 0x14,
163  SUPPLY_TEMP = 0x15,
165  INDOOR_TEMP = 0x16,
167  EXHAUST_TEMP = 0x17,
177  SW_VERSION = 0x22,
185  FAULT_STATUS = 0x26,
191  ROOM_TEMP = 0x29
192 } D250xx_INDEX;
193 
195 typedef enum
196 {
202 
204 typedef enum
205 {
227 
229 typedef enum
230 {
232  OP_NO_ACTION = 0x00,
234  OP_NEXT = 0x01,
236  OP_PREVIOUS = 0x02
237 } D250_OP_MODE;
238 
240 typedef enum
241 {
249 
250 
252 typedef enum
253 {
259 class eoEEP_D250xx: public eoD2EEProfile
260 {
261 private:
262  uint8_t cmd;
263 
264 public:
265  eoReturn SetType(uint8_t type);
266  eoReturn Parse(const eoMessage &msg);
271  eoEEP_D250xx(uint16_t size = 10);
272  virtual ~eoEEP_D250xx();
273  virtual eoReturn GetValue(CHANNEL_TYPE type, uint32_t &value, uint8_t index);
274  virtual eoReturn SetValue(CHANNEL_TYPE type, uint32_t value, uint8_t index);
275 
281  virtual eoReturn SetLength (uint8_t cmd);
282  virtual eoReturn SetCommand(uint8_t cmd);
283 };
286 #endif // !defined(EA_259BDE62_FE41_490e_8B3E_427A72922C4A__INCLUDED_)
Software Version Info 28
Definition: eoEEP_D250xx.h:177
D250_AIRFLAP_BYPASS_STATUS
Air flap and bypass enums for D2-50-xx profiles.
Definition: eoEEP_D250xx.h:252
Outdoor Air Heater Status 10
Definition: eoEEP_D250xx.h:141
Air flap and bypass is closed 0
Definition: eoEEP_D250xx.h:255
Ventilation Extended Status 1
Definition: eoEEP_D250xx.h:200
Air Quality Sensor 1 17
Definition: eoEEP_D250xx.h:155
Air flap and bypass open 2
Definition: eoEEP_D250xx.h:247
Automatic on Demand 12
Definition: eoEEP_D250xx.h:219
Air flap and bypass close 0
Definition: eoEEP_D250xx.h:243
Timer Operation Mode Control Status 13
Definition: eoEEP_D250xx.h:147
Digital Output Status 30
Definition: eoEEP_D250xx.h:181
CO2 Threshold 33
Definition: eoEEP_D250xx.h:187
Select Next Operation Mode (edge-trigger) 1
Definition: eoEEP_D250xx.h:234
D250_OP_MODE
Operation mode enums for D2-50-xx profiles.
Definition: eoEEP_D250xx.h:229
Exhaust Air Temperature 23
Definition: eoEEP_D250xx.h:167
Level 3 3
Definition: eoEEP_D250xx.h:213
Indoor Air Temperature 22
Definition: eoEEP_D250xx.h:165
Select Previous Operation Mode (edge-trigger) 2
Definition: eoEEP_D250xx.h:236
D250_AIRFLAP_BYPASS
Heat Exchanger Bypass Control for D2-50xx -profile.
Definition: eoEEP_D250xx.h:240
Air flap and bypass close 1
Definition: eoEEP_D250xx.h:245
Message Class for communication.
Definition: eoMessage.h:47
Digital Input Status 29
Definition: eoEEP_D250xx.h:179
Defrost Mode Status 8
Definition: eoEEP_D250xx.h:137
Room Temperature 35
Definition: eoEEP_D250xx.h:191
Exhaust Air Flap Position 7
Definition: eoEEP_D250xx.h:135
Air flap and bypass is open 1
Definition: eoEEP_D250xx.h:257
Supply Air Flap Position 6
Definition: eoEEP_D250xx.h:133
Exhaust Air Fan Air Flow Rate 25
Definition: eoEEP_D250xx.h:171
No Action/ Keep Current Mode 15
Definition: eoEEP_D250xx.h:225
virtual eoReturn SetCommand(uint8_t cmd)
Exhaust Air Only 14
Definition: eoEEP_D250xx.h:223
virtual eoReturn GetValue(CHANNEL_TYPE type, float &value)
Gets the Value as Floating Point.
Ventilation Basic Status 2
Definition: eoEEP_D250xx.h:112
Supply Fan Speed 26
Definition: eoEEP_D250xx.h:173
Outdoor Air Temperature 20
Definition: eoEEP_D250xx.h:161
Supply Air Only 13
Definition: eoEEP_D250xx.h:221
No Action 0
Definition: eoEEP_D250xx.h:232
Requested Message Type 0
Definition: eoEEP_D250xx.h:121
Off 0
Definition: eoEEP_D250xx.h:207
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
Filter Maintenance Status 14
Definition: eoEEP_D250xx.h:149
Info Message Status 31
Definition: eoEEP_D250xx.h:183
Automatic 11
Definition: eoEEP_D250xx.h:217
Ventilation Control 1
Definition: eoEEP_D250xx.h:110
D250xx_INDEX
Index enums for D2-50-xx profiles.
Definition: eoEEP_D250xx.h:118
Supply Air Temperature 21
Definition: eoEEP_D250xx.h:163
D250_REQUESTED_MSG_TYPE
Requested message enums for D2-50-xx profiles.
Definition: eoEEP_D250xx.h:195
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96
Master/Slave Configuration Status 19
Definition: eoEEP_D250xx.h:159
Room Temperature Control Status 16
Definition: eoEEP_D250xx.h:153
Level 1 1
Definition: eoEEP_D250xx.h:209
D250xx_COMMANDS
Command enums for D2-50-xx profiles.
Definition: eoEEP_D250xx.h:105
Fault Status 32
Definition: eoEEP_D250xx.h:185
Air Quality Threshold 34
Definition: eoEEP_D250xx.h:189
Heat Exchanger Bypass Control 3
Definition: eoEEP_D250xx.h:127
virtual eoReturn SetValue(CHANNEL_TYPE type, float value)
Sets the Value using a Floating Point.
CHANNEL_TYPE
Definition: eoChannelEnums.h:169
Ventilation Remote Transmission Request 0
Definition: eoEEP_D250xx.h:108
Ventilation Basic Status 0
Definition: eoEEP_D250xx.h:198
Timer Operation Mode Control 4
Definition: eoEEP_D250xx.h:129
Weekly Timer Program Status 15
Definition: eoEEP_D250xx.h:151
Safety Mode Status 5
Definition: eoEEP_D250xx.h:131
Operation Mode Control 2
Definition: eoEEP_D250xx.h:125
Supply Air Fan Air Flow Rate 24
Definition: eoEEP_D250xx.h:169
Exhaust Fan Speed 27
Definition: eoEEP_D250xx.h:175
D250_DIRECT_OP_MODE
Direct operation mode enums for D2-50-xx profiles.
Definition: eoEEP_D250xx.h:204
virtual eoReturn SetType(uint8_t type)
Ventilation Extended Status 3
Definition: eoEEP_D250xx.h:114
Cooling Protection Status 9
Definition: eoEEP_D250xx.h:139
Level 22
Definition: eoEEP_D250xx.h:211
Air Quality Sensor 2 18
Definition: eoEEP_D250xx.h:157
Drain Heater Status 12
Definition: eoEEP_D250xx.h:145
Level 4 4
Definition: eoEEP_D250xx.h:215
Supply Air Heater Status 11
Definition: eoEEP_D250xx.h:143
virtual eoReturn Parse(const eoMessage &msg)
Parses a msg using learned in Profile from Device.
Direct Operation Mode Control 1
Definition: eoEEP_D250xx.h:123