EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_A510xx.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_A510_H__INCLUDED_)
29 #define eoEEP_A510_H__INCLUDED_
30 
33 #include "eoA5EEProfile.h"
328 typedef enum
330 {
332  OCCUPANCY = 0x00, //Occupancy button
334  UNOCCUPANCY = 0x01 //Unoccupancy button
336 
338 typedef enum
339 {
347 
349 typedef enum
350 {
356 
358 {
359 
360 public:
361  eoReturn SetType(uint8_t type);
362 
363  eoEEP_A510xx();
364  virtual ~eoEEP_A510xx();
365  virtual eoReturn GetValue(CHANNEL_TYPE type, float &value, uint8_t subFlag);
366  virtual eoReturn GetValue(CHANNEL_TYPE type, uint32_t &value, uint8_t subFlag);
367  virtual eoReturn SetValue(CHANNEL_TYPE type, float value, uint8_t subFlag);
368  virtual eoReturn SetValue(CHANNEL_TYPE type, uint32_t value, uint8_t subFlag);
369 };
372 #endif // !defined(EA_259BDE62_FE41_490e_8B3E_427A72922C4A__INCLUDED_)
EnOcean Equipment Profiles.
Definition: eoA5EEProfile.h:85
virtual eoReturn SetValue(CHANNEL_TYPE type, float value, uint8_t subFlag)
Gets the Value as a float.
The class to handle EEP a510 profiles.
Definition: eoEEP_A510xx.h:357
uint8_t type
Type.
Definition: eoProfile.h:69
0 Room temperature defined by SP
Definition: eoEEP_A510xx.h:341
1 Frost protection
Definition: eoEEP_A510xx.h:343
virtual eoReturn GetValue(CHANNEL_TYPE type, float &value, uint8_t subFlag)
Gets the Value as Floating point.
Unoccupancy 1
Definition: eoEEP_A510xx.h:334
ROP_SET_POINT_MODE
Enums for Set point mode.
Definition: eoEEP_A510xx.h:338
eoReturn SetType(uint8_t type)
Occupancy 0
Definition: eoEEP_A510xx.h:332
ROP_USER_ACTIVITY
Enums for User activity.
Definition: eoEEP_A510xx.h:349
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
CHANNEL_TYPE
Definition: eoChannelEnums.h:169
2 Automatic control
Definition: eoEEP_A510xx.h:345
0 No user action
Definition: eoEEP_A510xx.h:352
ROP_1F_BUTTONS
Buttons for A5-10-1F profile.
Definition: eoEEP_A510xx.h:329
1 User interaction
Definition: eoEEP_A510xx.h:354