knx
ETS configurable knx-stack
dpt.h
Go to the documentation of this file.
1 #pragma once
2 
3 #define DPT_Switch Dpt(1, 1)
4 #define DPT_Bool Dpt(1, 2)
5 #define DPT_Enable Dpt(1, 3)
6 #define DPT_Ramp Dpt(1, 4)
7 #define DPT_Alarm Dpt(1, 5)
8 #define DPT_BinaryValue Dpt(1, 6)
9 #define DPT_Step Dpt(1, 7)
10 #define DPT_UpDown Dpt(1, 8)
11 #define DPT_OpenClose Dpt(1, 9)
12 #define DPT_Start Dpt(1, 10)
13 #define DPT_State Dpt(1, 11)
14 #define DPT_Invert Dpt(1, 12)
15 #define DPT_DimSendStyle Dpt(1, 13)
16 #define DPT_InputSource Dpt(1, 14)
17 #define DPT_Reset Dpt(1, 15)
18 #define DPT_Ack Dpt(1, 16)
19 #define DPT_Trigger Dpt(1, 17)
20 #define DPT_Occupancy Dpt(1, 18)
21 #define DPT_Window_Door Dpt(1, 19)
22 #define DPT_LogicalFunction Dpt(1, 21)
23 #define DPT_Scene_AB Dpt(1, 22)
24 #define DPT_ShutterBlinds_Mode Dpt(1, 23)
25 #define DPT_Heat_Cool Dpt(1, 100)
26 #define DPT_Switch_Control Dpt(2, 1)
27 #define DPT_Bool_Control Dpt(2, 2)
28 #define DPT_Enable_Control Dpt(2, 3)
29 #define DPT_Ramp_Control Dpt(2, 4)
30 #define DPT_Alarm_Control Dpt(2, 5)
31 #define DPT_BinaryValue_Control Dpt(2, 6)
32 #define DPT_Step_Control Dpt(2, 7)
33 #define DPT_Direction1_Control Dpt(2, 8)
34 #define DPT_Direction2_Control Dpt(2, 9)
35 #define DPT_Start_Control Dpt(2, 10)
36 #define DPT_State_Control Dpt(2, 11)
37 #define DPT_Invert_Control Dpt(2, 12)
38 #define DPT_Control_Dimming Dpt(3, 7)
39 #define DPT_Control_Blinds Dpt(3, 8)
40 #define DPT_Char_ASCII Dpt(4, 1)
41 #define DPT_Char_8859_1 Dpt(4, 2)
42 #define DPT_Scaling Dpt(5, 1)
43 #define DPT_Angle Dpt(5, 3)
44 #define DPT_Percent_U8 Dpt(5, 4)
45 #define DPT_DecimalFactor Dpt(5, 5)
46 #define DPT_Tariff Dpt(5, 6)
47 #define DPT_Value_1_Ucount Dpt(5, 10)
48 #define DPT_Percent_V8 Dpt(6, 1)
49 #define DPT_Value_1_Count Dpt(6, 10)
50 #define DPT_Status_Mode3 Dpt(6, 20)
51 #define DPT_Value_2_Ucount Dpt(7, 1)
52 #define DPT_TimePeriodMsec Dpt(7, 2)
53 #define DPT_TimePeriod10MSec Dpt(7, 3)
54 #define DPT_TimePeriod100MSec Dpt(7, 4)
55 #define DPT_TimePeriodSec Dpt(7, 5)
56 #define DPT_TimePeriodMin Dpt(7, 6)
57 #define DPT_TimePeriodHrs Dpt(7, 7)
58 #define DPT_PropDataType Dpt(7, 10)
59 #define DPT_Length_mm Dpt(7, 11)
60 #define DPT_UElCurrentmA Dpt(7, 12)
61 #define DPT_Brightness Dpt(7, 13)
62 #define DPT_Value_2_Count Dpt(8, 1)
63 #define DPT_DeltaTimeMsec Dpt(8, 2)
64 #define DPT_DeltaTime10MSec Dpt(8, 3)
65 #define DPT_DeltaTime100MSec Dpt(8, 4)
66 #define DPT_DeltaTimeSec Dpt(8, 5)
67 #define DPT_DeltaTimeMin Dpt(8, 6)
68 #define DPT_DeltaTimeHrs Dpt(8, 7)
69 #define DPT_Percent_V16 Dpt(8, 10)
70 #define DPT_Rotation_Angle Dpt(8, 11)
71 #define DPT_Value_Temp Dpt(9, 1)
72 #define DPT_Value_Tempd Dpt(9, 2)
73 #define DPT_Value_Tempa Dpt(9, 3)
74 #define DPT_Value_Lux Dpt(9, 4)
75 #define DPT_Value_Wsp Dpt(9, 5)
76 #define DPT_Value_Pres Dpt(9, 6)
77 #define DPT_Value_Humidity Dpt(9, 7)
78 #define DPT_Value_AirQuality Dpt(9, 8)
79 #define DPT_Value_Time1 Dpt(9, 10)
80 #define DPT_Value_Time2 Dpt(9, 11)
81 #define DPT_Value_Volt Dpt(9, 20)
82 #define DPT_Value_Curr Dpt(9, 21)
83 #define DPT_PowerDensity Dpt(9, 22)
84 #define DPT_KelvinPerPercent Dpt(9, 23)
85 #define DPT_Power Dpt(9, 24)
86 #define DPT_Value_Volume_Flow Dpt(9, 25)
87 #define DPT_Rain_Amount Dpt(9, 26)
88 #define DPT_Value_Temp_F Dpt(9, 27)
89 #define DPT_Value_Wsp_kmh Dpt(9, 28)
90 #define DPT_TimeOfDay Dpt(10, 1, 1)
91 #define DPT_Date Dpt(11, 1)
92 #define DPT_Value_4_Ucount Dpt(12, 1)
93 #define DPT_Value_4_Count Dpt(13, 1)
94 #define DPT_FlowRate_m3 Dpt(13, 2) / h
95 #define DPT_ActiveEnergy Dpt(13, 10)
96 #define DPT_ApparantEnergy Dpt(13, 11)
97 #define DPT_ReactiveEnergy Dpt(13, 12)
98 #define DPT_ActiveEnergy_kWh Dpt(13, 13)
99 #define DPT_ApparantEnergy_kVAh Dpt(13, 14)
100 #define DPT_ReactiveEnergy_kVARh Dpt(13, 15)
101 #define DPT_LongDeltaTimeSec Dpt(13, 100)
102 #define DPT_Value_Acceleration Dpt(14, 0)
103 #define DPT_Value_Acceleration_Angular Dpt(14, 1)
104 #define DPT_Value_Activation_Energy Dpt(14, 2)
105 #define DPT_Value_Activity Dpt(14, 3)
106 #define DPT_Value_Mol Dpt(14, 4)
107 #define DPT_Value_Amplitude Dpt(14, 5)
108 #define DPT_Value_AngleRad Dpt(14, 6)
109 #define DPT_Value_AngleDeg Dpt(14, 7)
110 #define DPT_Value_Angular_Momentum Dpt(14, 8)
111 #define DPT_Value_Angular_Velocity Dpt(14, 9)
112 #define DPT_Value_Area Dpt(14, 10)
113 #define DPT_Value_Capacitance Dpt(14, 11)
114 #define DPT_Value_Charge_DensitySurface Dpt(14, 12)
115 #define DPT_Value_Charge_DensityVolume Dpt(14, 13)
116 #define DPT_Value_Compressibility Dpt(14, 14)
117 #define DPT_Value_Conductance Dpt(14, 15)
118 #define DPT_Value_Electrical_Conductivity Dpt(14, 16)
119 #define DPT_Value_Density Dpt(14, 17)
120 #define DPT_Value_Electric_Charge Dpt(14, 18)
121 #define DPT_Value_Electric_Current Dpt(14, 19)
122 #define DPT_Value_Electric_CurrentDensity Dpt(14, 20)
123 #define DPT_Value_Electric_DipoleMoment Dpt(14, 21)
124 #define DPT_Value_Electric_Displacement Dpt(14, 22)
125 #define DPT_Value_Electric_FieldStrength Dpt(14, 23)
126 #define DPT_Value_Electric_Flux Dpt(14, 24)
127 #define DPT_Value_Electric_FluxDensity Dpt(14, 25)
128 #define DPT_Value_Electric_Polarization Dpt(14, 26)
129 #define DPT_Value_Electric_Potential Dpt(14, 27)
130 #define DPT_Value_Electric_PotentialDifference Dpt(14, 28)
131 #define DPT_Value_ElectromagneticMoment Dpt(14, 29)
132 #define DPT_Value_Electromotive_Force Dpt(14, 30)
133 #define DPT_Value_Energy Dpt(14, 31)
134 #define DPT_Value_Force Dpt(14, 32)
135 #define DPT_Value_Frequency Dpt(14, 33)
136 #define DPT_Value_Angular_Frequency Dpt(14, 34)
137 #define DPT_Value_Heat_Capacity Dpt(14, 35)
138 #define DPT_Value_Heat_FlowRate Dpt(14, 36)
139 #define DPT_Value_Heat_Quantity Dpt(14, 37)
140 #define DPT_Value_Impedance Dpt(14, 38)
141 #define DPT_Value_Length Dpt(14, 39)
142 #define DPT_Value_Light_Quantity Dpt(14, 40)
143 #define DPT_Value_Luminance Dpt(14, 41)
144 #define DPT_Value_Luminous_Flux Dpt(14, 42)
145 #define DPT_Value_Luminous_Intensity Dpt(14, 43)
146 #define DPT_Value_Magnetic_FieldStrength Dpt(14, 44)
147 #define DPT_Value_Magnetic_Flux Dpt(14, 45)
148 #define DPT_Value_Magnetic_FluxDensity Dpt(14, 46)
149 #define DPT_Value_Magnetic_Moment Dpt(14, 47)
150 #define DPT_Value_Magnetic_Polarization Dpt(14, 48)
151 #define DPT_Value_Magnetization Dpt(14, 49)
152 #define DPT_Value_MagnetomotiveForce Dpt(14, 50)
153 #define DPT_Value_Mass Dpt(14, 51)
154 #define DPT_Value_MassFlux Dpt(14, 52)
155 #define DPT_Value_Momentum Dpt(14, 53)
156 #define DPT_Value_Phase_AngleRad Dpt(14, 54)
157 #define DPT_Value_Phase_AngleDeg Dpt(14, 55)
158 #define DPT_Value_Power Dpt(14, 56)
159 #define DPT_Value_Power_Factor Dpt(14, 57)
160 #define DPT_Value_Pressure Dpt(14, 58)
161 #define DPT_Value_Reactance Dpt(14, 59)
162 #define DPT_Value_Resistance Dpt(14, 60)
163 #define DPT_Value_Resistivity Dpt(14, 61)
164 #define DPT_Value_SelfInductance Dpt(14, 62)
165 #define DPT_Value_SolidAngle Dpt(14, 63)
166 #define DPT_Value_Sound_Intensity Dpt(14, 64)
167 #define DPT_Value_Speed Dpt(14, 65)
168 #define DPT_Value_Stress Dpt(14, 66)
169 #define DPT_Value_Surface_Tension Dpt(14, 67)
170 #define DPT_Value_Common_Temperature Dpt(14, 68)
171 #define DPT_Value_Absolute_Temperature Dpt(14, 69)
172 #define DPT_Value_TemperatureDifference Dpt(14, 70)
173 #define DPT_Value_Thermal_Capacity Dpt(14, 71)
174 #define DPT_Value_Thermal_Conductivity Dpt(14, 72)
175 #define DPT_Value_ThermoelectricPower Dpt(14, 73)
176 #define DPT_Value_Time Dpt(14, 74)
177 #define DPT_Value_Torque Dpt(14, 75)
178 #define DPT_Value_Volume Dpt(14, 76)
179 #define DPT_Value_Volume_Flux Dpt(14, 77)
180 #define DPT_Value_Weight Dpt(14, 78)
181 #define DPT_Value_Work Dpt(14, 79)
182 #define DPT_Value_ApparentPower Dpt(14, 80)
183 #define DPT_Access_Data Dpt(15, 0)
184 #define DPT_String_ASCII Dpt(16, 0)
185 #define DPT_String_8859_1 Dpt(16, 1)
186 #define DPT_SceneNumber Dpt(17, 1)
187 #define DPT_SceneControl Dpt(18, 1)
188 #define DPT_DateTime Dpt(19, 1)
189 #define DPT_SCLOMode Dpt(20, 1)
190 #define DPT_BuildingMode Dpt(20, 2)
191 #define DPT_OccMode Dpt(20, 3)
192 #define DPT_Priority Dpt(20, 4)
193 #define DPT_LightApplicationMode Dpt(20, 5)
194 #define DPT_ApplicationArea Dpt(20, 6)
195 #define DPT_AlarmClassType Dpt(20, 7)
196 #define DPT_PSUMode Dpt(20, 8)
197 #define DPT_ErrorClass_System Dpt(20, 11)
198 #define DPT_ErrorClass_HVAC Dpt(20, 12)
199 #define DPT_Time_Delay Dpt(20, 13)
200 #define DPT_Beaufort_Wind_Force_Scale Dpt(20, 14)
201 #define DPT_SensorSelect Dpt(20, 17)
202 #define DPT_ActuatorConnectType Dpt(20, 20)
203 #define DPT_FuelType Dpt(20, 100)
204 #define DPT_BurnerType Dpt(20, 101)
205 #define DPT_HVACMode Dpt(20, 102)
206 #define DPT_DHWMode Dpt(20, 103)
207 #define DPT_LoadPriority Dpt(20, 104)
208 #define DPT_HVACContrMode Dpt(20, 105)
209 #define DPT_HVACEmergMode Dpt(20, 106)
210 #define DPT_ChangeoverMode Dpt(20, 107)
211 #define DPT_ValveMode Dpt(20, 108)
212 #define DPT_DamperMode Dpt(20, 109)
213 #define DPT_HeaterMode Dpt(20, 110)
214 #define DPT_FanMode Dpt(20, 111)
215 #define DPT_MasterSlaveMode Dpt(20, 112)
216 #define DPT_StatusRoomSetp Dpt(20, 113)
217 #define DPT_ADAType Dpt(20, 120)
218 #define DPT_BackupMode Dpt(20, 121)
219 #define DPT_StartSynchronization Dpt(20, 122)
220 #define DPT_Behaviour_Lock_Unlock Dpt(20, 600)
221 #define DPT_Behaviour_Bus_Power_Up_Down Dpt(20, 601)
222 #define DPT_DALI_Fade_Time Dpt(20, 602)
223 #define DPT_BlinkingMode Dpt(20, 603)
224 #define DPT_LightControlMode Dpt(20, 604)
225 #define DPT_SwitchPBModel Dpt(20, 605)
226 #define DPT_PBAction Dpt(20, 606)
227 #define DPT_DimmPBModel Dpt(20, 607)
228 #define DPT_SwitchOnMode Dpt(20, 608)
229 #define DPT_LoadTypeSet Dpt(20, 609)
230 #define DPT_LoadTypeDetected Dpt(20, 610)
231 #define DPT_SABExceptBehaviour Dpt(20, 801)
232 #define DPT_SABBehaviour_Lock_Unlock Dpt(20, 802)
233 #define DPT_SSSBMode Dpt(20, 803)
234 #define DPT_BlindsControlMode Dpt(20, 804)
235 #define DPT_CommMode Dpt(20, 1000)
236 #define DPT_AddInfoTypes Dpt(20, 1001)
237 #define DPT_RF_ModeSelect Dpt(20, 1002)
238 #define DPT_RF_FilterSelect Dpt(20, 1003)
239 #define DPT_StatusGen Dpt(21, 1)
240 #define DPT_Device_Control Dpt(21, 2)
241 #define DPT_ForceSign Dpt(21, 100)
242 #define DPT_ForceSignCool Dpt(21, 101)
243 #define DPT_StatusRHC Dpt(21, 102)
244 #define DPT_StatusSDHWC Dpt(21, 103)
245 #define DPT_FuelTypeSet Dpt(21, 104)
246 #define DPT_StatusRCC Dpt(21, 105)
247 #define DPT_StatusAHU Dpt(21, 106)
248 #define DPT_LightActuatorErrorInfo Dpt(21, 601)
249 #define DPT_RF_ModeInfo Dpt(21, 1000)
250 #define DPT_RF_FilterInfo Dpt(21, 1001)
251 #define DPT_Channel_Activation_8 Dpt(21, 1010)
252 #define DPT_StatusDHWC Dpt(22, 100)
253 #define DPT_StatusRHCC Dpt(22, 101)
254 #define DPT_Media Dpt(22, 1000)
255 #define DPT_Channel_Activation_16 Dpt(22, 1010)
256 #define DPT_OnOff_Action Dpt(23, 1)
257 #define DPT_Alarm_Reaction Dpt(23, 2)
258 #define DPT_UpDown_Action Dpt(23, 3)
259 #define DPT_HVAC_PB_Action Dpt(23, 102)
260 #define DPT_VarString_8859_1 Dpt(24, 1)
261 #define DPT_DoubleNibble Dpt(25, 1000)
262 #define DPT_SceneInfo Dpt(26, 1)
263 #define DPT_CombinedInfoOnOff Dpt(27, 1)
264 #define DPT_UTF_8 Dpt(28, 1)
265 #define DPT_ActiveEnergy_V64 Dpt(29, 10)
266 #define DPT_ApparantEnergy_V64 Dpt(29, 11)
267 #define DPT_ReactiveEnergy_V64 Dpt(29, 12)
268 #define DPT_Channel_Activation_24 Dpt(30, 1010)
269 #define DPT_PB_Action_HVAC_Extended Dpt(31, 101)
270 #define DPT_Heat_Cool_Z Dpt(200, 100)
271 #define DPT_BinaryValue_Z Dpt(200, 101)
272 #define DPT_HVACMode_Z Dpt(201, 100)
273 #define DPT_DHWMode_Z Dpt(201, 102)
274 #define DPT_HVACContrMode_Z Dpt(201, 104)
275 #define DPT_EnablH_Cstage_Z Dpt(201, 105)
276 #define DPT_BuildingMode_Z Dpt(201, 107)
277 #define DPT_OccMode_Z Dpt(201, 108)
278 #define DPT_HVACEmergMode_Z Dpt(201, 109)
279 #define DPT_RelValue_Z Dpt(202, 1)
280 #define DPT_UCountValue8_Z Dpt(202, 2)
281 #define DPT_TimePeriodMsec_Z Dpt(203, 2)
282 #define DPT_TimePeriod10Msec_Z Dpt(203, 3)
283 #define DPT_TimePeriod100Msec_Z Dpt(203, 4)
284 #define DPT_TimePeriodSec_Z Dpt(203, 5)
285 #define DPT_TimePeriodMin_Z Dpt(203, 6)
286 #define DPT_TimePeriodHrs_Z Dpt(203, 7)
287 #define DPT_UFlowRateLiter_per_h_Z Dpt(203, 11)
288 #define DPT_UCountValue16_Z Dpt(203, 12)
289 #define DPT_UElCurrent_Z Dpt(203, 13)
290 #define DPT_PowerKW_Z Dpt(203, 14)
291 #define DPT_AtmPressureAbs_Z Dpt(203, 15)
292 #define DPT_PercentU16_Z Dpt(203, 17)
293 #define DPT_HVACAirQual_Z Dpt(203, 100)
294 #define DPT_WindSpeed_Z Dpt(203, 101)
295 #define DPT_SunIntensity_Z Dpt(203, 102)
296 #define DPT_HVACAirFlowAbs_Z Dpt(203, 104)
297 #define DPT_RelSignedValue_Z Dpt(204, 1)
298 #define DPT_DeltaTimeMsec_Z Dpt(205, 2)
299 #define DPT_DeltaTime10Msec_Z Dpt(205, 3)
300 #define DPT_DeltaTime100Msec_Z Dpt(205, 4)
301 #define DPT_DeltaTimeSec_Z Dpt(205, 5)
302 #define DPT_DeltaTimeMin_Z Dpt(205, 6)
303 #define DPT_DeltaTimeHrs_Z Dpt(205, 7)
304 #define DPT_Percent_V16_Z Dpt(205, 17)
305 #define DPT_TempHVACAbs_Z Dpt(205, 100)
306 #define DPT_TempHVACRel_Z Dpt(205, 101)
307 #define DPT_HVACAirFlowRel_Z Dpt(205, 102)
308 #define DPT_HVACModeNext Dpt(206, 100)
309 #define DPT_DHWModeNext Dpt(206, 102)
310 #define DPT_OccModeNext Dpt(206, 104)
311 #define DPT_BuildingModeNext Dpt(206, 105)
312 #define DPT_StatusBUC Dpt(207, 100)
313 #define DPT_LockSign Dpt(207, 101)
314 #define DPT_ValueDemBOC Dpt(207, 102)
315 #define DPT_ActPosDemAbs Dpt(207, 104)
316 #define DPT_StatusAct Dpt(207, 105)
317 #define DPT_StatusLightingActuator Dpt(207, 600)
318 #define DPT_StatusHPM Dpt(209, 100)
319 #define DPT_TempRoomDemAbs Dpt(209, 101)
320 #define DPT_StatusCPM Dpt(209, 102)
321 #define DPT_StatusWTC Dpt(209, 103)
322 #define DPT_TempFlowWaterDemAbs Dpt(210, 100)
323 #define DPT_EnergyDemWater Dpt(211, 100)
324 #define DPT_TempRoomSetpSetShift_3 Dpt(212, 100)
325 #define DPT_TempRoomSetpSet_3 Dpt(212, 101)
326 #define DPT_TempRoomSetpSet_4 Dpt(213, 100)
327 #define DPT_TempDHWSetpSet_4 Dpt(213, 101)
328 #define DPT_TempRoomSetpSetShift_4 Dpt(213, 102)
329 #define DPT_PowerFlowWaterDemHPM Dpt(214, 100)
330 #define DPT_PowerFlowWaterDemCPM Dpt(214, 101)
331 #define DPT_StatusBOC Dpt(215, 100)
332 #define DPT_StatusCC Dpt(215, 101)
333 #define DPT_SpecHeatProd Dpt(216, 100)
334 #define DPT_Version Dpt(217, 1)
335 #define DPT_VolumeLiter_Z Dpt(218, 1)
336 #define DPT_FlowRate_m3_per_h_Z Dpt(218, 2)
337 #define DPT_AlarmInfo Dpt(219, 1)
338 #define DPT_TempHVACAbsNext Dpt(220, 100)
339 #define DPT_SerNum Dpt(221, 1)
340 #define DPT_TempRoomSetpSetF16_3 Dpt(222, 100)
341 #define DPT_TempRoomSetpSetShiftF16_3 Dpt(222, 101)
342 #define DPT_EnergyDemAir Dpt(223, 100)
343 #define DPT_TempSupplyAirSetpSet Dpt(224, 100)
344 #define DPT_ScalingSpeed Dpt(225, 1)
345 #define DPT_Scaling_Step_Time Dpt(225, 2)
346 #define DPT_TariffNext Dpt(225, 3)
347 #define DPT_MeteringValue Dpt(229, 1)
348 #define DPT_MBus_Address Dpt(230, 1000)
349 #define DPT_Locale_ASCII Dpt(231, 1)
350 #define DPT_Colour_RGB Dpt(232, 600)
351 #define DPT_LanguageCodeAlpha2_ASCII Dpt(234, 1)
352 #define DPT_RegionCodeAlpha2_ASCII Dpt(234, 2)
353 #define DPT_Tariff_ActiveEnergy Dpt(235, 1)
354 #define DPT_Prioritised_Mode_Control Dpt(236, 1)
355 #define DPT_DALI_Control_Gear_Diagnostic Dpt(237, 600)
356 #define DPT_SceneConfig Dpt(238, 1)
357 #define DPT_DALI_Diagnostics Dpt(238, 600)
358 #define DPT_FlaggedScaling Dpt(239, 1)
359 #define DPT_CombinedPosition Dpt(240, 800)
360 #define DPT_StatusSAB Dpt(241, 800)
361 #define DPT_Colour_RGBW Dpt(251, 600)
362 
363 class Dpt
364 {
365  public:
366  Dpt();
367  Dpt(short mainGroup, short subGroup, short index = 0);
368  unsigned short mainGroup;
369  unsigned short subGroup;
370  unsigned short index;
371  bool operator==(const Dpt& other) const;
372  bool operator!=(const Dpt& other) const;
373 };
Definition: dpt.h:364
bool operator==(const Dpt &other) const
Definition: dpt.cpp:15
bool operator!=(const Dpt &other) const
Definition: dpt.cpp:20
unsigned short mainGroup
Definition: dpt.h:368
unsigned short index
Definition: dpt.h:370
unsigned short subGroup
Definition: dpt.h:369
Dpt()
Definition: dpt.cpp:5