EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_A5090D.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 #ifndef EO_EEP_A5090D_H
29 #define EO_EEP_A5090D_H
30 
33 #include "eoA5EEProfile.h"
70  typedef enum
71  {
72  A5090D_H = 0,
73  A5090D_HCH0 = 1,
74  A5090D_TVOC = 2,
75  A5090D_TVOCCH0 = 3,
76  A5090D_T = 4,
77  A5090D_TCH0 = 5,
78  A5090D_CMFT = 6,
79  A5090D_CMFRH = 7,
80  A5090D_U1 = 8,
81  A5090D_U2 = 9,
82  A5090D_IAQ = 10,
84 
88  typedef enum
89  {
90  A5090D_CMFT_OUT_OF_COMFORT_ZONE = 0,
91  A5090D_CMFT_IN_COMFORT_ZONE = 1,
93 
94  typedef enum
95  {
96  A5090D_CMFRH_OUT_OF_COMFORT_ZONE = 0,
97  A5090D_CMFRH_IN_COMFORT_ZONE = 1,
98  }A5090D_CMFRH_ENUM;
99 
100  typedef enum
101  {
102  A5090D_IAQ_EXCELLENT = 0,
103  A5090D_IAQ_VERY_GOOD = 1,
104  A5090D_IAQ_LIGHTLY_POLLUTED = 2,
105  A5090D_IAQ_MODERATED_POLLUTED = 3,
106  A5090D_IAQ_HEAVILY_POLLUTED = 4,
107  A5090D_IAQ_SEVERELY_POLLUTED = 5,
108  A5090D_IAQ_EXTREMELY_POLLUTED = 6,
109  A5090D_IAQ_INVALID_AIR_QUALITY = 7,
110  }A5090D_IAQ_ENUM;
111 
112 
114 {
115  public:
116  eoReturn SetType(uint8_t type);
117  eoEEP_A5090D(uint16_t size=4);
118  virtual ~eoEEP_A5090D();
119 
120  eoReturn SetValue(CHANNEL_TYPE type, float value, uint8_t index = 0);
121 
122 };
125 #endif // !eoEEP_A5090D
A5090D_CHANNELS
Definition: eoEEP_A5090D.h:70
EnOcean Equipment Profiles.
Definition: eoA5EEProfile.h:85
uint8_t type
Type.
Definition: eoProfile.h:69
eoReturn SetType(uint8_t type)
eoReturn SetValue(CHANNEL_TYPE type, float value, uint8_t index=0)
Gets the Value as a float.
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
A5090D_CMFT_ENUM
Definition: eoEEP_A5090D.h:88
CHANNEL_TYPE
Definition: eoChannelEnums.h:169
The class to handle eoEEP_A5090D.
Definition: eoEEP_A5090D.h:113