EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D21030 Class Reference

The class to handle eoEEP_D21030. More...

#include <eoEEP_D21030.h>

Inheritance diagram for eoEEP_D21030:
Collaboration diagram for eoEEP_D21030:

Public Member Functions

eoReturn SetType (uint8_t type)
 
virtual eoReturn SetCommand (uint8_t cmd)
 
virtual eoReturn Parse (const eoMessage &msg)
 Parses a msg using learned in Profile from Device. More...
 
virtual eoReturn SetValue (CHANNEL_TYPE type, uint32_t value, uint8_t index)
 
 eoEEP_D21030 (uint16_t size=14)
 
- 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 eoChannelInfoGetChannel (CHANNEL_TYPE type, uint8_t subType)
 
virtual eoChannelInfoGetChannel (CHANNEL_TYPE type)
 
virtual eoChannelInfoGetChannel (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
eoEEPChannelInfochannel
 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.
 

Detailed Description

The class to handle eoEEP_D21030.

Allows the user to handle eoEEP_D21030 profile.



  • For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID00.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier

    For Message Direction: Sensor -> Gateway graphics/D2-10-30_MID20.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier

    For Message Direction: Sensor -> Gateway

    Communication trigger: timer triggered graphics/D2-10-30_MID21.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_RELHUM float ::HUM - Humidity
    2E_STATE uint ::WOD - Open Window Detect
    3E_STATE uint ::OBS - Occupancy Button Status
    4E_STATE uint ::RCM - Room Control Mode
    5S_TEMP float ::TMP - Room Temperature
    6E_STATE uint ::PIR - PIR Status
    7E_STATE uint ::FS - Fan Speed
    8S_TEMP float ::TSP - Recent Temperature Set Point - absolute
    9S_TEMP float ::TSPR - Recent Temperature Set Point - relative
    10S_PERCENTAGE float ::AV - Analog Value

    For Message Direction: Sensor -> Gateway Communication trigger: event triggered graphics/D2-10-30_MID22.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::UITY - UI Type
    2E_STATE uint ::MW - Mold Warning/Advice
    3E_STATE uint ::DC - Display Content
    4E_STATE uint ::IEC - Device Status
    5E_STATE uint ::PHS - Party/Holiday Status
    6E_STATE uint ::HCS - Heating/Cooling Status
    7E_STATE uint ::SMS - Sun/Moon Status
    8E_STATE uint ::DST - Daylight Saving Time
    9E_STATE uint ::AL - Autonomous Level
    10E_STATE uint ::BS - Energy State
    11E_STATE uint ::SPS - Solar Power Status
    12S_TEMP float ::SPB - Temperature Set Point Vacation Mode
    13S_TEMP float ::SPE - Temperature Set Point Eco Mode
    14S_TEMP float ::SPC - Temperature Set Point Comfort Mode

    For Message Direction: Sensor -> Gateway Communication trigger: event triggered graphics/D2-10-30_MID23.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_PERCENTAGE float ::VP1 - Position, Valve 1
    2S_PERCENTAGE float ::VP2 - Position, Valve 2
    3S_PERCENTAGE float ::VP3 - Position, Valve 3
    4S_PERCENTAGE float ::VP4 - Position, Valve 4
    5S_TEMP float ::AT1 - Temperature, Actuator 1
    6S_TEMP float ::AT2 - Temperature, Actuator 2
    7S_TEMP float ::AT3 - Temperature, Actuator 3
    8S_TEMP float ::AT4 - Temperature, Actuator 4
    9E_STATE uint ::AS1 - Status, Actuator 1
    10E_STATE uint ::AS2 - Status, Actuator 2
    11E_STATE uint ::AS3 - Status, Actuator 3
    12E_STATE uint ::AS4 - Status, Actuator 4

    For Message Direction: Sensor -> Gateway Communication trigger: event triggered graphics/D2-10-30_MID24.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPRR - Temperature Set Point Range Relative
    2S_TEMP float ::SPBUL - Upper Temperature Set Point Limit Vacation Mode
    3S_TEMP float ::SPBLL - Lower Temperature Set Point Limit Vacation Mode
    4S_TEMP float ::SPEUL - Upper Temperature Set Point Limit Eco Mode
    5S_TEMP float ::SPELL - Lower Temperature Set Point Limit Eco Mode
    6S_TEMP float ::SPCUL - Upper Temperature Set Point Limit Comfort Mode
    7S_TEMP float ::SPCLL - Lower Temperature Set Point Limit Comfort Mode

    For Message Direction: bidirectional Communication trigger: silent acknowledge graphics/D2-10-30_MID61.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::PSL - PIR Status Lock
    2E_STATE uint ::TSL - Temperature Scale Lock
    3E_STATE uint ::DCL - Display Content Lock
    4E_STATE uint ::DTL - Date/Time Lock
    5E_STATE uint ::TPL - Time Program Lock
    6E_STATE uint ::OBL - Occupancy Button Lock
    7E_STATE uint ::SPL - Temperature Set Point Lock
    8E_STATE uint ::FSL - Fan Speed Lock
    9E_STATE uint ::HFL - Holiday Feature Lock
    10E_STATE uint ::SBA - Time Bar
    11E_STATE uint ::SEM - Season Energy Saving Mode
    12E_STATE uint ::MWS - Mold Warning Signal
    13E_STATE uint ::MWC - Mold Warning Coefficient
    14E_STATE uint ::MWH - Mold Warning Limit
    15E_STATE uint ::SPM - Set Point Mode Config
    16E_STATE uint ::DCTL - Display Content Toggle List
    17E_STATE uint ::RCI - Radio Communication Interval
    18E_STATE uint ::TS - Temperature Scale
    19E_STATE uint ::HC - Heating Coefficient
    20E_STATE uint ::KL - Key Lock
    21E_STATE uint ::WDST - Window Open Detection Stopping Time

    For Message Direction: bidirectional Communication trigger: silent acknowledge graphics/D2-10-30_MID62.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::TN - Time Notation
    2E_STATE uint ::DAY - Day
    3E_STATE uint ::MON - Month
    4E_STATE uint ::YR - Year
    5E_STATE uint ::MIN - Minute
    6E_STATE uint ::DTU - Date/Time Update Flag
    7E_STATE uint ::HR - Hour

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID80.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::TMPO - Room Temperature Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID81.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::TSPO - Recent Temperature Set Point Override Absolute

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID82.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::TSPRO - Recent Temperature Set Point Offset Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID83.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::EXVSU - External Value Scale and Unit
    2E_STATE uint ::EXV - External Value

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID84.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_RELHUM float ::HUMO - Humidity Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID85.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::FSO - Fan Speed Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID86.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::RCMO - Room Mode Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID87.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::WODO - Open Window Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID88.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::PIRO - PIR Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID89.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::OBO - Occupancy Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID8A.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::SDAS - Set Display Advice Symbol

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID8B.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::ALO - Autonomous Level Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID8C.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::SDCH - Set Display Cooling/Heating Symbol

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID8D.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::SDSM - Set Display Sun/Moon Symbol

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID8E.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::DCO - Display Content Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID8F.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::DSTO - Daylight Saving Time Override

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID90.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::UDEC - Set User Defined Info Code

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID91.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPBO - Temperature Set Point Vacation Mode

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID92.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPCO - Temperature Set Point Comfort Mode

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID93.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPEO - Temperature Set Point Eco Mode

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID94.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPBULO - Upper Temperature Set Point Limit Vacation Mode

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID95.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPBLLO - Lower Temperature Set Point Limit Vacation Mode

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID96.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPEULO - Upper Temperature Set Point Limit Eco Mode

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID97.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPELLO - Lower Temperature Set Point Limit Eco Mode

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID98.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPCULO - Upper Temperature Set Point Limit Comfort Mode

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID99.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPCLLO - Lower Temperature Set Point Limit Comfort Mode

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID9A.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1S_TEMP float ::SPRRO - Temperature Set Point Range Relative

    For Message Direction: Gateway -> Sensor graphics/D2-10-30_MID9B.png the following channels are available

    Channel Index Channel Type Type Comment
    0E_COMMAND uint ::MID - Message identifier
    1E_STATE uint ::SEMO - Energy Saving Mode Override


Member Function Documentation

◆ Parse()

virtual eoReturn eoEEP_D21030::Parse ( const eoMessage msg)
virtual

Parses a msg using learned in Profile from Device.

This function will parse the Message msg using the Profile Specific data

Parameters
msgMessage to parse
Returns
eoReturn EO_OK,NOT_SUPPORTED,NOT_IMPLEMENTED

Reimplemented from eoProfile.

◆ SetCommand()

virtual eoReturn eoEEP_D21030::SetCommand ( uint8_t  cmd)
virtual

Sets and checks if the specified command is supported

Parameters
cmd
Returns
eoReturn EO_OK or NOT_SUPPORTED

Reimplemented from eoD2EEProfile.

◆ SetType()

eoReturn eoEEP_D21030::SetType ( uint8_t  type)
virtual

Sets and checks if the specified [EEP] type is supported

Parameters
type
Returns
eoReturn EO_OK or NOT_SUPPORTED

Reimplemented from eoProfile.