calimero-project / calimero-core

Core library for KNX network access and management
Other
128 stars 65 forks source link

Translator for DPT 22.101 #45

Closed 200Puls closed 5 years ago

200Puls commented 7 years ago

Hi, first of all thanks for the great library. It seems that DPT 22.101 is currently not supported by Calimero. The Datapoint is RHCC Status and is described in this document.

Are there any plans to integrate this. Do you have any tips how I could deal with this in the meantime? Thanks, best regards Phil

calimero-project commented 7 years ago

Hi, until now this DPT did not really came up as crucial with most of the devices I was concerned with. So from my point, no, there was no real incentive to implement that. As I see, this DPT is mainly used by some MDT devices?

For now, you could use the 2-byte unsigned translator (DPT_VALUE_2_UCOUNT, "7.001"). To represent the status like shown in some product documents or ETS, use ::getNumericValue or ::getValueUnsigned and format it as hex number.

bmalinowsky commented 5 years ago

DPT 22.101 is now in master, so closing this.