EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoEEP_D230xx.h File Reference
#include "eoD2EEProfile.h"
Include dependency graph for eoEEP_D230xx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  eoEEP_D230xx
 The class to handle EEP D230 profiles. More...
 

Enumerations

enum  MSR_COMMANDS {
  MSR_SET_HEAT_CONTROLS = 0x01, MSR_HEAT_CONTROL_STATUS_QUERY = 0x02, MSR_HEAT_CONTROL_STATUS_RESPONSE = 0x03, MSR_SET_METER_CONFIGURATION = 0x06,
  MSR_METER_STATUS_QUERY = 0x07, MSR_METER_READING_REPORT = 0x08
}
 Command enums for D2-30-xx profiles. More...
 
enum  MSR_CHANNELS {
  MSR_CHANNEL_SUPPLY_TEMP = 0x00, MSR_CHANNEL_RETURN_TEMP = 0x01, MSR_CHANNEL_REPORT_TIME = 0x02, MSR_CHANNEL_METER_TYPE = 0x03,
  MSR_CHANNEL_METER_1 = 0x04, MSR_CHANNEL_METER_2 = 0x05, MSR_CHANNEL_NUM_OF_PULSES = 0x06, MSR_CHANNEL_PRESET_VALUE = 0x07,
  MSR_CHANNEL_PROTOCOL = 0x08, MSR_CHANNEL_PULSES_FACTOR = 0x09, MSR_CHANNEL_PRIMARY_ADDR = 0x0A, MSR_CHANNEL_ERROR = 0x0B,
  MSR_CHANNEL_ERROR_CH31 = 0x0C, MSR_CHANNEL_ERROR_HCH31 = 0x0C, MSR_CHANNEL_METER_ERROR = 0x0D, MSR_CHANNEL_METER_CHANNEL = 0x0E,
  MSR_CHANNEL_VALUE_SELECTION = 0x0F, MSR_COMMON_RETURN_TEMP = 0x10
}
 Channel enums. More...
 
enum  MSR_TIME_VALUES {
  MSR_LOCAL_DEFAULT = 0x00, MSR_1_SECOND = 0x01, MSR_2_SECOND = 0x02, MSR_5_SECOND = 0x03,
  MSR_10_SECOND = 0x04, MSR_20_SECOND = 0x05, MSR_50_SECOND = 0x06, MSR_100_SECOND = 0x07,
  MSR_200_SECOND = 0x08, MSR_500_SECOND = 0x09, MSR_1000_SECOND = 0x0A
}
 Enums for PWM signal intervals. More...
 
enum  MSR_REPORT_TIME_VALUES {
  MSR_NO_REPORT = 0x00, MSR_1_SECOND_REPORT = 0x01, MSR_3_SECOND_REPORT = 0x02, MSR_10_SECOND_REPORT = 0x03,
  MSR_30_SECOND_REPORT = 0x04, MSR_100_SECOND_REPORT = 0x05, MSR_300_SECOND_REPORT = 0x06, MSR_1000_SECOND_REPORT = 0x07
}
 Enums for Minimum auto reporting intervals. More...
 
enum  MSR_CONNECTED_VALVE { MSR_VALVE_NORM_CLOSED = 0x00, MSR_VALVE_NORM_OPEN = 0x01 }
 Enums for type of connected valve. More...
 
enum  MSR_INIT_SEQU { MSR_NO_ACTION = 0x00, MSR_RUN_INIT_SEQU = 0x01 }
 Enums for running init sequence. More...
 
enum  MSR_ERROR_CODE {
  MSR_ERROR_NO_FAULT = 0x00, MSR_ERROR_GENERAL = 0x01, MSR_ERROR_INIT_SEQU_RUNNING = 0x02, MSR_ERROR_CHANNEL_NOT_AVAILABLE = 0x03,
  MSR_ERROR_TEMP_SENSOR = 0x04, MSR_ERROR_VALVE = 0x05, MSR_ERROR_TEMP_SENSOR_VALVE = 0x06
}
 Enums for Status/Error. More...
 
enum  MSR_ERROR_CODE_CH31 {
  MSR_ERROR_CH31_NO_FAULT = 0x00, MSR_ERROR_CH31_GENERAL = 0x01, MSR_ERROR_CH31_SUPPLY_TEMP = 0x02, MSR_ERROR_CH31_RETURN_TEMP = 0x03,
  MSR_ERROR_CH31_SUPPLY_RETURN_TEMP = 0x04
}
 Enums for Status/Error if HCH = 31. More...
 
enum  MSR_METER_ERROR_CODE {
  MSR_METER_ERROR_NO_FAULT = 0x00, MSR_METER_ERROR_GENERAL = 0x01, MSR_METER_BUS_NO_CONFIG = 0x02, MSR_METER_BUS_NO_CONNECTION = 0x03,
  MSR_METER_BUS_SHORTCUT = 0x04, MSR_METER_TIMEOUT = 0x05, MSR_METER_UNKNOWN_CONFIG = 0x06, MSR_METER_BUS_INIT_RUNNING = 0x07
}
 Enums for Status/Error. More...
 
enum  MSR_METER_BUS_TYPE { MSR_BUS_TYPE_MBUS = 0x01, MSR_BUS_TYPE_S0 = 0x02, MSR_BUS_TYPE_D0 = 0x03 }
 Enums for Meter bus type. More...
 
enum  MSR_METER_UNITS {
  MSR_UNIT_NO_READING = 0x00, MSR_UNIT_CURRENT_W_ACCUM_KWH = 0x01, MSR_UNIT_CURRENT_W_ACCUM_WH = 0x02, MSR_UNIT_ACCUM_KWH = 0x03,
  MSR_UNIT_CURRENT_M3_ACCUM_M3 = 0x04, MSR_UNIT_CURRENT_DM3_ACCUM_DM3 = 0x05, MSR_UNIT_ACCUM_M3 = 0x06, MSR_UNIT_DIGIT_COUNTER = 0x07
}
 Enums for Meter units. More...
 
enum  MSR_VALUE_UNITS {
  MSR_VALUE_W = 0x00, MSR_VALUE_WH = 0x01, MSR_VALUE_KWH = 0x02, MSR_VALUE_M3H = 0x03,
  MSR_VALUE_DM3H = 0x04, MSR_VALUE_M3 = 0x05, MSR_VALUE_DM3 = 0x06, MSR_VALUE_DIGIT_COUNTER = 0x07
}
 Enums for Meter units. More...
 
enum  MSR_FACTOR_PULSES { MSR_FACTOR_PULSES_1 = 0x00, MSR_FACTOR_PULSES_01 = 0x01, MSR_FACTOR_PULSES_001 = 0x02, MSR_FACTOR_PULSES_0001 = 0x03 }
 Enums for factor of number of pulses. More...
 
enum  MSR_PROTOCOL { MSR_PROTOCOL_AUTO_DETECT = 0x00, MSR_PROTOCOL_SML = 0x01, MSR_PROTOCOL_DLMS = 0x02 }
 Enums for D0 protocol. More...
 
enum  MSR_VALUE_SELECTION { MSR_VALUE_1_CURRENT = 0x00, MSR_VALUE_1_ACCU = 0x01, MSR_VALUE_2_CURRENT = 0x02, MSR_VALUE_2_ACCU = 0x03 }
 Enums for Value selection. More...
 

Enumeration Type Documentation

◆ MSR_CHANNELS

Channel enums.

Enumerator
MSR_CHANNEL_SUPPLY_TEMP 

0 Supply temperature of the unit

MSR_CHANNEL_RETURN_TEMP 

1 Return temperature

MSR_CHANNEL_REPORT_TIME 

2 Supply temperature

MSR_CHANNEL_METER_TYPE 

3 Return temperature

MSR_CHANNEL_METER_1 

4 Meter 1 units

MSR_CHANNEL_METER_2 

5 Meter 2 units

MSR_CHANNEL_NUM_OF_PULSES 

6 Number of pulses

MSR_CHANNEL_PRESET_VALUE 

7 Preset value

MSR_CHANNEL_PROTOCOL 

8 Preset value

MSR_CHANNEL_PULSES_FACTOR 

9 Factor of number of pulses

MSR_CHANNEL_PRIMARY_ADDR 

10 Primary Address

MSR_CHANNEL_ERROR 

11 Error codes for Heating controls status response

MSR_CHANNEL_ERROR_CH31 

12 Error codes for Heating controls status response if Heating channel is 31

MSR_CHANNEL_ERROR_HCH31 

Deprecated typo.

MSR_CHANNEL_METER_ERROR 

13 Meter error code

MSR_CHANNEL_METER_CHANNEL 

14 Meter channel index

MSR_CHANNEL_VALUE_SELECTION 

15 Value selection

MSR_COMMON_RETURN_TEMP 

16 The current common return temperature (Heating Channel=31)

◆ MSR_COMMANDS

Command enums for D2-30-xx profiles.

Enumerator
MSR_SET_HEAT_CONTROLS 

1 Set heating controls output

MSR_HEAT_CONTROL_STATUS_QUERY 

2 Heating controls status query

MSR_HEAT_CONTROL_STATUS_RESPONSE 

3 Heating controls status response

MSR_SET_METER_CONFIGURATION 

6 Set meter configuration

MSR_METER_STATUS_QUERY 

7 Meter status query

MSR_METER_READING_REPORT 

8 Meter reading report/status response

◆ MSR_CONNECTED_VALVE

Enums for type of connected valve.

Enumerator
MSR_VALVE_NORM_CLOSED 

0 Valve normally closed

MSR_VALVE_NORM_OPEN 

1 Valve normally open

◆ MSR_ERROR_CODE

Enums for Status/Error.

Enumerator
MSR_ERROR_NO_FAULT 

0 No fault

MSR_ERROR_GENERAL 

1 General error

MSR_ERROR_INIT_SEQU_RUNNING 

2 Init sequence running

MSR_ERROR_CHANNEL_NOT_AVAILABLE 

3 Channel not available

MSR_ERROR_TEMP_SENSOR 

4 Temperature sensor error

MSR_ERROR_VALVE 

5 Valve error

MSR_ERROR_TEMP_SENSOR_VALVE 

6 Temperature sensor and Valve error

◆ MSR_ERROR_CODE_CH31

Enums for Status/Error if HCH = 31.

Enumerator
MSR_ERROR_CH31_NO_FAULT 

0 No fault

MSR_ERROR_CH31_GENERAL 

1 General error

MSR_ERROR_CH31_SUPPLY_TEMP 

2 Supply temperature error

MSR_ERROR_CH31_RETURN_TEMP 

3 Return temperature error

MSR_ERROR_CH31_SUPPLY_RETURN_TEMP 

3 Error on both sensors

◆ MSR_FACTOR_PULSES

Enums for factor of number of pulses.

Enumerator
MSR_FACTOR_PULSES_1 

0 1

MSR_FACTOR_PULSES_01 

1 0.1

MSR_FACTOR_PULSES_001 

2 0.01

MSR_FACTOR_PULSES_0001 

3 0.001

◆ MSR_INIT_SEQU

Enums for running init sequence.

Enumerator
MSR_NO_ACTION 

0 No action

MSR_RUN_INIT_SEQU 

1 Run init sequence

◆ MSR_METER_BUS_TYPE

Enums for Meter bus type.

Enumerator
MSR_BUS_TYPE_MBUS 

1 MBUS

MSR_BUS_TYPE_S0 

2 S0

MSR_BUS_TYPE_D0 

3 D0

◆ MSR_METER_ERROR_CODE

Enums for Status/Error.

Enumerator
MSR_METER_ERROR_NO_FAULT 

0 No fault

MSR_METER_ERROR_GENERAL 

1 General error

MSR_METER_BUS_NO_CONFIG 

2 Bus unconfigured

MSR_METER_BUS_NO_CONNECTION 

3 Bus unconnected

MSR_METER_BUS_SHORTCUT 

4 Bus shortcut

MSR_METER_TIMEOUT 

5 Communication timeout

MSR_METER_UNKNOWN_CONFIG 

6 Unknown protocol or configuration mismatch

MSR_METER_BUS_INIT_RUNNING 

7 Bus initialisation running

◆ MSR_METER_UNITS

Enums for Meter units.

Enumerator
MSR_UNIT_NO_READING 

0 No reading

MSR_UNIT_CURRENT_W_ACCUM_KWH 

1 Current value in W, accumulated value in kWh

MSR_UNIT_CURRENT_W_ACCUM_WH 

2 Current value in W, accumulated value in Wh

MSR_UNIT_ACCUM_KWH 

3 Accumulated value in kWh

MSR_UNIT_CURRENT_M3_ACCUM_M3 

4 Current value in m3/h, accumulated value in m3

MSR_UNIT_CURRENT_DM3_ACCUM_DM3 

5 Current value in dm3/h, accumulated value in dm3

MSR_UNIT_ACCUM_M3 

6 Accumulated value in m3

MSR_UNIT_DIGIT_COUNTER 

7 Digital counter

◆ MSR_PROTOCOL

Enums for D0 protocol.

Enumerator
MSR_PROTOCOL_AUTO_DETECT 

0 Auto detect

MSR_PROTOCOL_SML 

1 SML (Smart Message Language)

MSR_PROTOCOL_DLMS 

2 DLMS (Device Language Message Specification)

◆ MSR_REPORT_TIME_VALUES

Enums for Minimum auto reporting intervals.

Enumerator
MSR_NO_REPORT 

0 No auto reporting

MSR_1_SECOND_REPORT 

1 1 second

MSR_3_SECOND_REPORT 

2 3 seconds

MSR_10_SECOND_REPORT 

3 10 seconds

MSR_30_SECOND_REPORT 

4 30 seconds

MSR_100_SECOND_REPORT 

5 100 seconds

MSR_300_SECOND_REPORT 

6 300 seconds

MSR_1000_SECOND_REPORT 

7 1000 seconds

◆ MSR_TIME_VALUES

Enums for PWM signal intervals.

Enumerator
MSR_LOCAL_DEFAULT 

0 Local default/no change

MSR_1_SECOND 

1 1 second

MSR_2_SECOND 

2 2 seconds

MSR_5_SECOND 

3 5 seconds

MSR_10_SECOND 

4 10 seconds

MSR_20_SECOND 

5 20 seconds

MSR_50_SECOND 

6 50 seconds

MSR_100_SECOND 

7 100 seconds

MSR_200_SECOND 

8 200 seconds

MSR_500_SECOND 

9 500 seconds

MSR_1000_SECOND 

10 1000 seconds

◆ MSR_VALUE_SELECTION

Enums for Value selection.

Enumerator
MSR_VALUE_1_CURRENT 

0 Meter 1, Current value

MSR_VALUE_1_ACCU 

1 Meter 1, Accumulated value

MSR_VALUE_2_CURRENT 

2 Meter 2, Current value

MSR_VALUE_2_ACCU 

3 Meter 2, Accumulated value

◆ MSR_VALUE_UNITS

Enums for Meter units.

Enumerator
MSR_VALUE_W 

0 Value in W

MSR_VALUE_WH 

1 Value in Wh

MSR_VALUE_KWH 

2 Value in kWh

MSR_VALUE_M3H 

3 Value in m3/h

MSR_VALUE_DM3H 

3 Value in dm3/h

MSR_VALUE_M3 

5 Value in m3

MSR_VALUE_DM3 

6 Value in dm3

MSR_VALUE_DIGIT_COUNTER 

7 Digital counter