EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D234xx.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_D234_H__INCLUDED_)
29 #define eoEEP_D234_H__INCLUDED_
30 
33 #include "eoD2EEProfile.h"
144 typedef enum
146 {
167 } D234_COMMANDS;
168 
170 typedef enum
171 {
194 
196 
200 typedef enum
201 {
202  D234_T_NOT_AVAILABLE = 510,
203  D234_T_UNKNOWN = 511,
204 }D234_T_ENUM;
205 
206 typedef enum
207 {
208  D234_SP_NOT_AVAILABLE = 510,
209  D234_SP_UNKNOWN = 511,
210 }D234_SP_ENUM;
211 
212 typedef enum
213 {
214  D234_OP_OFF = 0,
215  D234_OP_TEMPERATURE_UNKNOWN = 1,
216  D234_OP_NORMAL = 4,
217  D234_OP_NOT_AVAILABLE = 15,
218 }D234_OP_ENUM;
219 
220 typedef enum
221 {
222  D234_CH_ALL_SUPPORTED = 30,
223 }D234_CH_ENUM;
224 
225  typedef enum
226  {
227  D234_HCS_OFF = 0,
228  D234_HCS_ON = 1,
229  }D234_HCS_ENUM;
230 
231  typedef enum
232  {
233  D234_HC_COOLING = 0,
234  D234_HC_HEATING = 1,
235  }D234_HC_ENUM;
236 
237  typedef enum
238  {
239  D234_E_NO_ERROR = 0,
240  D234_E_GENERAL = 1,
241  D234_E_ACTUATING_DRIVER = 2,
242  D234_E_NOT_AVAILABLE = 15,
243  }D234_E_ENUM;
244 
246 {
247 private:
248  uint8_t cmd;
249 
250 public:
251  eoReturn SetType(uint8_t type);
252  eoReturn Parse(const eoMessage &msg);
257  eoEEP_D234xx(uint16_t size = 10);
258  virtual ~eoEEP_D234xx();
259 
260  virtual eoReturn SetValue(CHANNEL_TYPE type, uint32_t value, uint8_t index);
261  virtual eoReturn SetCommand(uint8_t cmd);
262 };
265 #endif
Operation Mode full range values 10
Definition: eoEEP_D234xx.h:193
Operation Mode full range values 9
Definition: eoEEP_D234xx.h:191
Temperature Controller Status Response 9
Definition: eoEEP_D234xx.h:160
State of the channel 7
Definition: eoEEP_D234xx.h:187
virtual eoReturn SetCommand(uint8_t cmd)
uint8_t type
Type.
Definition: eoProfile.h:69
D234_COMMANDS
Command enums for D2-34-xx profiles.
Definition: eoEEP_D234xx.h:145
eoMessage msg
helper function to convert bits
Definition: eoProfile.h:302
Configuration 0
Definition: eoEEP_D234xx.h:173
Gateway Set Point Configuration 10
Definition: eoEEP_D234xx.h:162
Message Class for communication.
Definition: eoMessage.h:47
Actuator status response 4
Definition: eoEEP_D234xx.h:150
Actuator set point query 6
Definition: eoEEP_D234xx.h:154
Actuator set point configuration 5
Definition: eoEEP_D234xx.h:152
The class to handle EEP D234 profiles.
Definition: eoEEP_D234xx.h:245
Set point override value 4
Definition: eoEEP_D234xx.h:181
eoEEP_D234xx(uint16_t size=10)
Current active setpoint 2
Definition: eoEEP_D234xx.h:177
Current room temperature full range values 8
Definition: eoEEP_D234xx.h:189
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
Temperature Controller Status Query 8
Definition: eoEEP_D234xx.h:158
Set point provided by room panel 5
Definition: eoEEP_D234xx.h:183
eoReturn Parse(const eoMessage &msg)
Parses a msg using learned in Profile from Device.
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96
Operation Mode 1
Definition: eoEEP_D234xx.h:175
CHANNEL_TYPE
Definition: eoChannelEnums.h:169
System Status Query 12
Definition: eoEEP_D234xx.h:166
VLD_D234_INDEXES
Command enums for D2-34-xx profiles.
Definition: eoEEP_D234xx.h:170
D234_T_ENUM
Definition: eoEEP_D234xx.h:200
Actuator set point response 7
Definition: eoEEP_D234xx.h:156
System Status Query 11
Definition: eoEEP_D234xx.h:164
eoReturn SetType(uint8_t type)
Actuator status query 3
Definition: eoEEP_D234xx.h:148
State of the heating 6
Definition: eoEEP_D234xx.h:185
Set point shift value 3
Definition: eoEEP_D234xx.h:179