Function dptToFloat(int32_t)
Defined in File datapoint_types.cpp
Function Documentation
-
uint16_t dptToFloat(int32_t value)
Convert a value from uint32_t to 2 uint8_t float (DPT9/EIS5).
The possible range of the values is -67108864 to 67076096.
- Parameters:
value – - the value to convert. Use INVALID_DPT_FLOAT for the DPT9 “invalid data” value.
- Returns:
The 2 uint8_t float (DPT9/EIS5).