Commit Graph

7 Commits (532b621367f38f701294a63ba0646ad19d2d9528)

Author SHA1 Message Date
Simon Stürz bf53a742a3 Update license text and add SPDX identifier 2025-11-18 12:02:13 +01:00
jenkins 0451515d39 Merge PR #220: libnymea-sunspec: Implement handling of SunSpec repeating blocks. 2025-10-17 11:28:18 +02:00
Michael Schwarz 3944f2c984 Implement handling of SunSpec repeating blocks.
* Update code generator to create code for setting up
    SunSpecModelRepeatingBlock subclasses automatically.
  * Update SunSpecModel class to provide access to its repeating blocks
    and to forward received raw data to its repeating blocks.
  * Use updated code generator to regenerate model classes.
2025-10-08 11:12:28 +02:00
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
Simon Stürz 17a5d33861 Add Qt6 support 2025-08-18 11:55:53 +02:00
Simon Stürz eabdc1a207 Introduce endiness for sunspec connections 2021-12-10 17:01:36 +01:00
Simon Stürz 38a718472b Add libnymea-sunspec and implement custom SolarEdge connection 2021-07-15 16:05:29 +02:00