nymea-plugins-modbus/libnymea-sunspec
Michael Schwarz f819b8d678 Fix conversion from float to quint16 in SunSpecDataPoint::convertFromFloatWithSSF
Calling this function with a negative value and DataType::Int16 always gives a 0 result on ARM. Need to convert to qint16 first to avoid undefined behavior (cf. https://embeddeduse.com/2013/08/25/casting-a-negative-float-to-an-unsigned-int/)
2025-10-01 14:03:50 +02:00
..
models Fix libnymea-sunspec byteorder initialization 2021-12-12 10:39:54 +01:00
tools Fix libnymea-sunspec byteorder initialization 2021-12-12 10:39:54 +01:00
libnymea-sunspec.pro Add Qt6 support 2025-08-18 11:55:53 +02:00
sunspec.png Add libnymea-sunspec and implement custom SolarEdge connection 2021-07-15 16:05:29 +02:00
sunspec.pro Add libnymea-sunspec and implement custom SolarEdge connection 2021-07-15 16:05:29 +02:00
sunspecconnection.cpp Add Qt6 support 2025-08-18 11:55:53 +02:00
sunspecconnection.h Introduce timout handling and reconnect. Update sunspec connection state handling 2022-06-29 09:48:57 +02:00
sunspecdatapoint.cpp Fix conversion from float to quint16 in SunSpecDataPoint::convertFromFloatWithSSF 2025-10-01 14:03:50 +02:00
sunspecdatapoint.h Add Qt6 support 2025-08-18 11:55:53 +02:00
sunspecmodel.cpp Add Qt6 support 2025-08-18 11:55:53 +02:00
sunspecmodel.h Fix libnymea-sunspec byteorder initialization 2021-12-12 10:39:54 +01:00
sunspecmodelrepeatingblock.cpp Add libnymea-sunspec and implement custom SolarEdge connection 2021-07-15 16:05:29 +02:00
sunspecmodelrepeatingblock.h Introduce endiness for sunspec connections 2021-12-10 17:01:36 +01:00