EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoD2EEProfile.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 EOD2EEPROFILE_H_
29 #define EOD2EEPROFILE_H_
30 
36 #include "eoEEProfile.h"
37 #include "eoApiDef.h"
38 
40 typedef enum
41 {
51 
53 typedef enum
54 {
64 
66 typedef enum
67 {
71  WINDOW_CLOSED = 0x01,
73  WINDOW_OPEN = 0x02
75 
77 typedef enum
78 {
80  PIR_NO_CHANGE = 0x00,
84  PIR_MOVEMENT = 0x02,
86  PIR_LOCKED = 0x03
88 
97 {
98 public:
103  eoD2EEProfile(uint16_t size = 14);
104  virtual ~eoD2EEProfile();
105 
106  virtual eoReturn CreateTeachIN(eoMessage &m);
112  virtual eoReturn SetCommand(uint8_t cmd);
113 };
116 #endif /* EOEEPPROFILE_H_ */
No change 0
Definition: eoD2EEProfile.h:56
contains Dolphin API Definitions
24 hours 2
Definition: eoD2EEProfile.h:60
Movement 2
Definition: eoD2EEProfile.h:84
VLD_TIME_NOTATION_ENUM
Time notation enums for D2-10-xx and D2-33-xx profiles.
Definition: eoD2EEProfile.h:53
Profile base class for Enocean Equipment Profiles.
12 hours 3
Definition: eoD2EEProfile.h:62
Message Class for communication.
Definition: eoMessage.h:47
VLD_PIR_STATUS_ENUM
Indicates if the PIR detected a movement.
Definition: eoD2EEProfile.h:77
VLD_WINDOW_OPEN_ENUM
Window open detection enums for D2-10-xx and D2-33-xx profiles.
Definition: eoD2EEProfile.h:66
eoD2EEProfile(uint16_t size=14)
base class for EEProfile parsing
Definition: eoEEProfile.h:50
virtual eoReturn SetCommand(uint8_t cmd)
Open 2
Definition: eoD2EEProfile.h:73
No change 0
Definition: eoD2EEProfile.h:43
No movement detected 1
Definition: eoD2EEProfile.h:82
VLD_TEMP_SCALE_ENUM
Temperature scale enums for D2-10-xx and D2-33-xx profiles.
Definition: eoD2EEProfile.h:40
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
Closed 1
Definition: eoD2EEProfile.h:71
EnOcean Equipment Profiles.
Definition: eoD2EEProfile.h:96
Default 1
Definition: eoD2EEProfile.h:45
Locked 3
Definition: eoD2EEProfile.h:86
Default 1
Definition: eoD2EEProfile.h:58
virtual eoReturn CreateTeachIN(eoMessage &m)
Generates an EEP Telegram(only not chained supported!!1)
No change 0
Definition: eoD2EEProfile.h:80
No change/ disabled 0
Definition: eoD2EEProfile.h:69
Celsius 2
Definition: eoD2EEProfile.h:47
Fahrenheit 3
Definition: eoD2EEProfile.h:49