Skip to content

Releases: PeterGrace/sunspec_rs

v0.6.1

Choose a tag to compare

@PeterGrace PeterGrace released this 10 Oct 11:46

Fixed

  • Adjusted code to remove compiler warning about variables never being read
  • Also adjusted same code to remove unnecessary mutability

v0.6.0

Choose a tag to compare

@PeterGrace PeterGrace released this 03 Oct 18:52

Added

  • Prometheus metrics for modbus get/set commands

  • get_symbols_for_point() which will return the symbols for a given point.

  • get_point supports repeating blocks.

Changed

  • Adjusted hardcoded 2-address-offset into a const, ADDR_OFFSET. Explained its significance in the code comments.

  • Downgraded error! to debug! in situations where we're logging an error and then sending that same text upstream in a Result<T,E>

  • changed variable names to avoid rustc errors about unused values (they're part of the testing apparatus and aren't used anyway)

  • set accessibility for symbol-related data to full pub

Fixed

  • Scale-factor mathematical logic was just... wrong. Fixed it.

v0.5.2

Choose a tag to compare

@PeterGrace PeterGrace released this 21 Sep 00:17

Added

  • Added ability to do integration tests without requiring an actual sunspec device - data is mocked as a Vec buffer.

Changed

  • ModelData.model was private, now made public to facilitate usage in test harness

v0.5.1

Choose a tag to compare

@PeterGrace PeterGrace released this 20 Sep 11:32

Added

  • strict_symbols to SunSpecConnection struct, allowing sunspec_rs to synthesize names for enums/bitfields if the model is inaccurate

v0.5.0

Choose a tag to compare

@PeterGrace PeterGrace released this 20 Sep 00:22

Changed

  • vendor model files are now stored in models/{vendor-name-lowercase}/smdx_?????.xml. Vendor name is found by checking the Mn field of the common model (1).