EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D21441.h
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_D21441_H
29 #define EO_EEP_D21441_H
30 
33 #include "eoD2EEProfile.h"
68  typedef enum
69  {
70  D21441_TMP10 = 0,
71  D21441_TMP10CH0 = 1,
72  D21441_HUM = 2,
73  D21441_HUMCH0 = 3,
74  D21441_ILL = 4,
75  D21441_ILLCH0 = 5,
76  D21441_ACC_S = 6,
77  D21441_ACC_X = 7,
78  D21441_ACC_XCH0 = 8,
79  D21441_ACC_Y = 9,
80  D21441_ACC_YCH0 = 10,
81  D21441_ACC_Z = 11,
82  D21441_ACC_ZCH0 = 12,
83  D21441_CON = 13,
84  }D21441_CHANNELS;
85 
89  typedef enum
90  {
91  D21441_TMP10_OUT_OF_RANGE_NEGATIVE = 1021,
92  D21441_TMP10_OUT_OF_RANGE_POSITIVE = 1022,
93  D21441_TMP10_ERROR = 1023,
94  }D21441_TMP10_ENUM;
95  typedef enum
96  {
97  D21441_HUM_SUPPORTED__INVALID = 254,
98  D21441_HUM_NOT_SUPPORTED = 255,
99  }D21441_HUM_ENUM;
100  typedef enum
101  {
102  D21441_ILL_ERROR = 131071,
103  }D21441_ILL_ENUM;
104  typedef enum
105  {
106  D21441_ACC_S_HEARTBEAT = 0,
107  D21441_ACC_S_THRESHOLD_1_EXCEEDED = 1,
108  D21441_ACC_S_THRESHOLD_2_EXCEEDED = 2,
109  }D21441_ACC_S_ENUM;
110  typedef enum
111  {
112  D21441_ACC_X_OUT_OF_RANGE_NEGATIVE = 1021,
113  D21441_ACC_X_OUT_OF_RANGE_POSITIVE = 1022,
114  D21441_ACC_X_ERROR = 1023,
115  }D21441_ACC_X_ENUM;
116  typedef enum
117  {
118  D21441_ACC_Y_OUT_OF_RANGE_NEGATIVE = 1021,
119  D21441_ACC_Y_OUT_OF_RANGE_POSITIVE = 1022,
120  D21441_ACC_Y_ERROR = 1023,
121  }D21441_ACC_Y_ENUM;
122  typedef enum
123  {
124  D21441_ACC_Z_OUT_OF_RANGE_NEGATIVE = 1021,
125  D21441_ACC_Z_OUT_OF_RANGE_POSITIVE = 1022,
126  D21441_ACC_Z_ERROR = 1023,
127  }D21441_ACC_Z_ENUM;
128  typedef enum
129  {
130  D21441_CON_OPEN = 0,
131  D21441_CON_CLOSED = 1,
132  }D21441_CON_ENUM;
133 
134 
136 {
137 
138 public:
139  eoReturn SetType(uint8_t type);
140 
141 
142 
143 
144 
145  eoEEP_D21441(uint16_t size=14);
146  virtual ~eoEEP_D21441();
147 };
150 #endif // !eoEEP_D21441
uint8_t type
Type.
Definition: eoProfile.h:69
eoReturn SetType(uint8_t type)
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96
The class to handle eoEEP_D21441.
Definition: eoEEP_D21441.h:135