EnOcean Link
1.14.0.0
Middleware to Connect EnOcean easily to other Projects
|
The class to handle EEP D234 profiles. More...
#include <eoEEP_D234xx.h>
Public Member Functions | |
eoReturn | SetType (uint8_t type) |
eoReturn | Parse (const eoMessage &msg) |
Parses a msg using learned in Profile from Device. More... | |
eoEEP_D234xx (uint16_t size=10) | |
virtual eoReturn | SetValue (CHANNEL_TYPE type, uint32_t value, uint8_t index) |
virtual eoReturn | SetCommand (uint8_t cmd) |
Public Member Functions inherited from eoD2EEProfile | |
eoD2EEProfile (uint16_t size=14) | |
virtual eoReturn | CreateTeachIN (eoMessage &m) |
Generates an EEP Telegram(only not chained supported!!1) More... | |
Public Member Functions inherited from eoEEProfile | |
eoEEProfile (uint16_t size=4) | |
virtual eoReturn | GetValue (CHANNEL_TYPE type, float &value) |
Gets the Value as Floating Point. More... | |
virtual eoReturn | GetValue (CHANNEL_TYPE type, uint8_t &value) |
Sets the Value using a unsigned integer. More... | |
virtual eoReturn | GetValue (CHANNEL_TYPE type, uint32_t &value) |
virtual eoReturn | GetValue (CHANNEL_TYPE type, uint8_t &value, uint8_t subFlag) |
Gets the Value as unsigned integer. More... | |
virtual eoReturn | GetValue (CHANNEL_TYPE type, uint32_t &value, uint8_t subFlag) |
virtual eoReturn | GetValue (CHANNEL_TYPE type, uint64_t &value, uint8_t subFlag) |
virtual eoReturn | GetValue (CHANNEL_TYPE type, float &value, uint8_t subFlag) |
Gets the Value as Floating point. More... | |
virtual eoReturn | SetValue (CHANNEL_TYPE type, float value) |
Sets the Value using a Floating Point. More... | |
virtual eoReturn | SetValue (CHANNEL_TYPE type, uint8_t value) |
Sets the Value using a uint8_t. More... | |
virtual eoReturn | SetValue (CHANNEL_TYPE type, uint32_t value) |
virtual eoReturn | SetValue (CHANNEL_TYPE type, float value, uint8_t subFlag) |
Gets the Value as a float. More... | |
virtual eoReturn | SetValue (CHANNEL_TYPE type, uint8_t value, uint8_t subFlag) |
Gets the Value as unsigned integer. More... | |
virtual eoReturn | SetValue (CHANNEL_TYPE type, uint64_t value, uint8_t subFlag) |
Sets the Value as a 64-bit. More... | |
virtual eoChannelInfo * | GetChannel (CHANNEL_TYPE type, uint8_t subType) |
virtual eoChannelInfo * | GetChannel (CHANNEL_TYPE type) |
virtual eoChannelInfo * | GetChannel (uint8_t channelNumber) |
virtual eoReturn | GetSubTypeChannel (CHANNEL_TYPE type, std::vector< eoEEPChannelInfo *> &vector) |
virtual uint8_t | GetChannelCount () const |
Public Member Functions inherited from eoProfile | |
eoProfile (uint16_t size=0) | |
virtual bool | operator== (const eoProfile &othProfile) const |
virtual bool | operator!= (const eoProfile &othProfile) const |
virtual bool | IsSecDData (const eoMessage &message) |
virtual void | ClearValues () |
virtual eoReturn | Create (eoMessage &m) |
Generates an EEP Message. More... | |
virtual uint8_t | Serialize (eoArchive &a) |
Serialization Function which will be called by the eoStorageManager. More... | |
eoReturn | SetManufacturer (uint16_t manufacturerID) |
Additional Inherited Members | |
Public Attributes inherited from eoProfile | |
uint8_t | rorg |
R-ORG. | |
uint8_t | func |
Func. | |
uint8_t | type |
Type. | |
uint16_t | manufacturer |
Manufacturer. | |
Static Protected Member Functions inherited from eoEEProfile | |
static void | CopyItemToChannel (eoEEPChannelInfo &channel, EEP_ITEM const *item) |
Static Protected Member Functions inherited from eoProfile | |
static float | ScaleFromRAW (uint32_t rawValue, uint32_t rangeMin, uint32_t rangeMax, double scaleMin, double scaleMax) |
Creates floating Point from Raw Value. More... | |
static uint32_t | ScaleToRAW (float value, uint32_t rangeMin, uint32_t rangeMax, double scaleMin, double scaleMax) |
Creates Raw Value from a floating Point. More... | |
static eoReturn | GetRawValue (const eoMessage &msg, uint32_t &value, uint16_t offset, uint8_t size) |
Gives raw data Value from a Message. More... | |
static eoReturn | SetRawValue (eoMessage &msg, uint32_t value, uint16_t offset, uint8_t size) |
Inserts raw data Value in a message. More... | |
Protected Attributes inherited from eoEEProfile | |
eoEEPChannelInfo * | channel |
ChannelInfo list for direct Access to channels. | |
uint8_t | channelCount |
Number of channels. | |
Protected Attributes inherited from eoProfile | |
eoMessage | msg |
helper function to convert bits | |
Static Protected Attributes inherited from eoProfile | |
static const uint8_t | maskArray [8] |
Mask array. | |
The class to handle EEP D234 profiles.
Allows the user to handle EEP D234 profiles, the following profiles are available:
D2-34-10
NOTE: set the command ID before using the profile.
The following channels are available in Actuator Status Query command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | E_STATE | uint | |
1 | E_IO_CHANNEL | float | |
2 | E_COMMAND | uint |
The following channels are available in Actuator Status Response command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | S_TEMP | float | |
1 | S_SETPOINT | float | |
2 | E_STATE | uint | :: HEATING_OPERATION_MODE |
3 | E_STATE | uint | :: CHANNEL_STATE |
4 | E_IO_CHANNEL | float | |
5 | E_COMMAND | uint |
The following channels are available in Actuator Set Point Configuration command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | E_STATE | uint | HEATING_CONFIGURATION |
1 | S_TIME | float | |
2 | S_SETPOINT | float | :: HEATING_SHIFT_SETPOINT |
3 | S_SETPOINT | float | :: HEATING_OVERRIDE_SETPOINT |
4 | E_STATE | uint | CHANNEL_STATE |
5 | E_IO_CHANNEL | float | |
6 | E_COMMAND | uint |
The following channels are available in Actuator Set Point Query command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | E_IO_CHANNEL | float | |
1 | E_COMMAND | uint |
The following channels are available in Actuator Set Point Response command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | E_STATE | float | HEATING_CONFIGURATION |
1 | S_TIME | uint | |
2 | S_SETPOINT | uint | HEATING_ROOM_PANEL_SETPOINT |
3 | S_SETPOINT | uint | HEATING_SHIFT_SETPOINT |
4 | S_SETPOINT | uint | HEATING_OVERRIDE_SETPOINT |
5 | E_STATE | uint | CHANNEL_STATE |
6 | E_IO_CHANNEL | float | |
7 | E_COMMAND | uint |
The following channels are available in Temperature Controller Status Query command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | E_STATE | uint | |
1 | E_IO_CHANNEL | float | |
2 | E_COMMAND | uint |
The following channels are available in Temperature Controller Status Response command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | E_STATE | uint | CURRENT_ROOM_TEMPERATURE_FULL_RANGE |
1 | S_TEMP | float | |
2 | E_STATE | uint | CURRENT_ACTIVE_SETPOINT_FULL_RANGE |
4 | S_SETPOINT | float | |
5 | E_STATE | uint | HEATING_OPERATION_MODE |
6 | E_STATE | uint | CHANNEL_STATE |
7 | E_IO_CHANNEL | float | |
8 | F_ON_OFF | uint | |
9 | E_COMMAND | uint |
The following channels are available in Gateway Set Point Configuration command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | E_STATE | uint | CURRENT_ROOM_TEMPERATURE_FULL_RANGE |
1 | S_TEMP | float | |
2 | E_STATE | uint | CURRENT_ACTIVE_SETPOINT_FULL_RANGE |
4 | S_SETPOINT | float | |
5 | E_STATE | uint | CHANNEL_STATE |
6 | E_IO_CHANNEL | float | |
7 | F_ON_OFF | uint | |
8 | E_COMMAND | uint |
The following channels are available in System Status Query command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | E_COMMAND | uint |
The following channels are available in System Status Response command:
Channel Index | Channel Type | Type | Comment |
---|---|---|---|
0 | E_IO_CHANNEL | uint | |
2 | E_STATE | uint | HEATING_COOLING_MODE |
4 | E_ERROR_STATE | uint | |
8 | E_COMMAND | uint |
eoEEP_D234xx::eoEEP_D234xx | ( | uint16_t | size = 10 | ) |
Constructor with message size
size |
|
virtual |
Sets and checks if the specified command is supported
cmd |
Reimplemented from eoD2EEProfile.