EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D200xx.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_D200_H__INCLUDED_)
29 #define eoEEP_D200_H__INCLUDED_
30 
33 #include "eoD2EEProfile.h"
108 typedef enum
110 {
118  RCP_COOLING = 0x03,
120  RCP_HEATING = 0x04,
159 } RCP_INDEXS;
160 
162 typedef enum
163 {
174 } RCP_COMMANDS;
175 
177 typedef enum
178 {
180  PRESENCE = 0x01,
182  TEMP_DOWN = 0x02,
184  TEMP_UP = 0x05,
186  FAN = 0x06
188 
190 typedef enum
191 {
193  NO_CHANGE = 0x00,
195  PRESENT = 0x01,
197  NOT_PRESENT = 0x02,
199  NIGHT_TIME = 0x03
200 } RCP_PRESENCE;
201 
203 typedef enum
204 {
216 
218 typedef enum
219 {
233 
235 {
236 private:
237  uint8_t cmd;
238 
239 public:
240  eoReturn SetType(uint8_t type);
241  eoReturn Parse(const eoMessage &msg);
246  eoEEP_D200xx(uint16_t size = 10);
247  virtual ~eoEEP_D200xx();
248 
249  virtual eoReturn GetValue(CHANNEL_TYPE type, float &value);
250  virtual eoReturn GetValue(CHANNEL_TYPE type, uint32_t &value, uint8_t index);
251  virtual eoReturn GetValue(CHANNEL_TYPE type, float &value, uint8_t index);
252  virtual eoReturn SetValue(CHANNEL_TYPE type, float value);
253  virtual eoReturn SetValue(CHANNEL_TYPE type, uint32_t value, uint8_t index);
254  virtual eoReturn SetValue(CHANNEL_TYPE type, float value, uint8_t index);
255 
256  virtual eoReturn SetCommand(uint8_t cmd);
257 };
260 #endif // !defined(EA_259BDE62_FE41_490e_8B3E_427A72922C4A__INCLUDED_)
Date in dd.mm format 21
Definition: eoEEP_D200xx.h:156
Room temperature in °F 13
Definition: eoEEP_D200xx.h:138
RCP_COMMANDS
Command enums for D2-00-xx profiles.
Definition: eoEEP_D200xx.h:162
Delta temperature set point in °C 16
Definition: eoEEP_D200xx.h:144
Speed level 0 1
Definition: eoEEP_D200xx.h:208
eoReturn Parse(const eoMessage &msg)
Parses a msg using learned in Profile from Device.
Display content 2
Definition: eoEEP_D200xx.h:167
Fan 6
Definition: eoEEP_D200xx.h:186
virtual eoReturn SetValue(CHANNEL_TYPE type, float value)
Sets the Value using a Floating Point.
Date in mm.dd format 22
Definition: eoEEP_D200xx.h:158
Time in 24h format 18
Definition: eoEEP_D200xx.h:150
uint8_t type
Type.
Definition: eoProfile.h:69
Speed level 3 4
Definition: eoEEP_D200xx.h:214
Nominal temperature in °C 14
Definition: eoEEP_D200xx.h:140
eoMessage msg
helper function to convert bits
Definition: eoProfile.h:302
Cooling 3
Definition: eoEEP_D200xx.h:118
Temperature set point "down" or "-" 2
Definition: eoEEP_D200xx.h:182
Measurement result 4
Definition: eoEEP_D200xx.h:171
Message Class for communication.
Definition: eoMessage.h:47
virtual eoReturn SetCommand(uint8_t cmd)
Speed level Auto 5
Definition: eoEEP_D200xx.h:231
The class to handle EEP D200 profiles.
Definition: eoEEP_D200xx.h:234
Time in 12h format (AM) 19
Definition: eoEEP_D200xx.h:152
Temperature measurement timing 8
Definition: eoEEP_D200xx.h:128
RCP_6_LEVEL_FANSPEED
6 level fan speed enums for D2-00-xx profiles
Definition: eoEEP_D200xx.h:218
Speed level 1 2
Definition: eoEEP_D200xx.h:225
Night time reduction 3
Definition: eoEEP_D200xx.h:199
No change 0
Definition: eoEEP_D200xx.h:221
User notification 1
Definition: eoEEP_D200xx.h:114
Do not display 11
Definition: eoEEP_D200xx.h:134
Do not display 0
Definition: eoEEP_D200xx.h:206
Speed level 2 3
Definition: eoEEP_D200xx.h:227
RCP_PRESENCE
Presence enums for D2-00-xx profiles.
Definition: eoEEP_D200xx.h:190
RCP_5_LEVEL_FANSPEED
5 level fan speed enums for D2-00-xx profiles
Definition: eoEEP_D200xx.h:203
Dew point 2
Definition: eoEEP_D200xx.h:116
virtual eoReturn GetValue(CHANNEL_TYPE type, float &value)
Gets the Value as Floating Point.
eoEEP_D200xx(uint16_t size=10)
Sensor configuration 5
Definition: eoEEP_D200xx.h:173
Present 1
Definition: eoEEP_D200xx.h:195
Repeated user action on RCP 3
Definition: eoEEP_D200xx.h:169
Speed level 2 3
Definition: eoEEP_D200xx.h:212
RCP_USER_ACTION
User action enums for D2-00-xx profiles.
Definition: eoEEP_D200xx.h:177
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
Set point range limit 10
Definition: eoEEP_D200xx.h:132
Presence 1
Definition: eoEEP_D200xx.h:180
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96
Speed level 0 1
Definition: eoEEP_D200xx.h:223
Not present 2
Definition: eoEEP_D200xx.h:197
First user action on RCP 1
Definition: eoEEP_D200xx.h:165
Kepp alive timing 7
Definition: eoEEP_D200xx.h:126
Temperature set point "up" or "+" 5
Definition: eoEEP_D200xx.h:184
CHANNEL_TYPE
Definition: eoChannelEnums.h:169
No change 0
Definition: eoEEP_D200xx.h:193
Nominal temperature in °F 15
Definition: eoEEP_D200xx.h:142
Set point steps 9
Definition: eoEEP_D200xx.h:130
Time in 12h format (PM) 20
Definition: eoEEP_D200xx.h:154
Speed level 1 2
Definition: eoEEP_D200xx.h:210
eoReturn SetType(uint8_t type)
Heating 4
Definition: eoEEP_D200xx.h:120
Room temperature in °C 12
Definition: eoEEP_D200xx.h:136
Fan manual 5
Definition: eoEEP_D200xx.h:122
Config valid 0
Definition: eoEEP_D200xx.h:112
Delta temperature set point (graphical) 17
Definition: eoEEP_D200xx.h:148
More data 6
Definition: eoEEP_D200xx.h:124
Delta temperature set point in °F 17
Definition: eoEEP_D200xx.h:146
RCP_INDEXS
Index enums for D2-00-xx profiles.
Definition: eoEEP_D200xx.h:109
Speed level 3 4
Definition: eoEEP_D200xx.h:229