EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoF6EEProfile.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 
32 #include "eoEEProfile.h"
33 #ifndef EOF6EEPROFILE_H_
34 #define EOF6EEPROFILE_H_
35 typedef enum
37 {
39  STATE_I = 0,
41  STATE_O = 1,
43  STATE_NP = 2,
47 
49 typedef enum
50 {
58 
60 typedef enum
61 {
66 
68 
70 typedef enum
71 {
77 
79 typedef enum
80 {
82  NO_WATER = 0x00,
85 } WAS_VALUES;
86 
88 typedef enum
89 {
96 } WIND_VALUES;
97 
99 typedef enum
100 {
107 } SMOKE_VALUES;
108 
117 {
118 public:
119  eoF6EEProfile();
120 
121  virtual eoReturn Create(eoMessage &msg);
122  virtual eoReturn Parse(const eoMessage &msg);
123  virtual ~eoF6EEProfile();
124 
125 };
128 #endif /* EOEEPPROFILE_H_ */
SMOKE_VALUES
Enums for Smoke sensor values.
Definition: eoF6EEProfile.h:99
1 Energy bow released
Definition: eoF6EEProfile.h:65
1 x0 Button Pressed
Definition: eoF6EEProfile.h:41
3 Both Rocker Button Pressed
Definition: eoF6EEProfile.h:45
WIND_VALUES
Enums for Wind sensor values.
Definition: eoF6EEProfile.h:88
eoMessage msg
helper function to convert bits
Definition: eoProfile.h:302
Profile base class for Enocean Equipment Profiles.
ENUM_MULTIPRESS_STATE
Multipress state.
Definition: eoF6EEProfile.h:70
WAS_VALUES
Enums for Water sensor values.
Definition: eoF6EEProfile.h:79
0 Wind speed below threshold (Alarm OFF)
Definition: eoF6EEProfile.h:91
ENUM_WINDOW_STATE
Window States.
Definition: eoF6EEProfile.h:49
Message Class for communication.
Definition: eoMessage.h:47
1 Window Handle is at middle Position
Definition: eoF6EEProfile.h:54
1 More then 2 buttons pressed
Definition: eoF6EEProfile.h:75
2 Energy Low
Definition: eoF6EEProfile.h:106
0 Smoke Alarm OFF
Definition: eoF6EEProfile.h:102
base class for EEProfile parsing
Definition: eoEEProfile.h:50
0 1 or 2 buttons pressed
Definition: eoF6EEProfile.h:73
ENUM_ENERGY_STATE
Energybow state.
Definition: eoF6EEProfile.h:60
0 Water not detected
Definition: eoF6EEProfile.h:82
virtual eoReturn Parse(const eoMessage &msg)
Parses a msg using learned in Profile from Device.
2 Energy Low
Definition: eoF6EEProfile.h:95
1 Water detected
Definition: eoF6EEProfile.h:84
0 xI Button Pressed
Definition: eoF6EEProfile.h:39
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
2 Window Handle is at down Position
Definition: eoF6EEProfile.h:56
1 Wind speed exceeds threshold (Alarm ON)
Definition: eoF6EEProfile.h:93
0 Window Handle is at upper Position
Definition: eoF6EEProfile.h:52
2 Rocker Button has not been Pressed
Definition: eoF6EEProfile.h:43
EnOcean Equipment Profiles class for RORG F6.
Definition: eoF6EEProfile.h:116
virtual eoReturn Create(eoMessage &msg)
Generates an EEP Message.
ENUM_ROCKER_STATE
Rocker States.
Definition: eoF6EEProfile.h:36
0 Energy bow pressed
Definition: eoF6EEProfile.h:63
1 Smoke Alarm ON
Definition: eoF6EEProfile.h:104