Skip to content

Release 2.2.1

Latest

Choose a tag to compare

@m-unkel m-unkel released this 11 Apr 15:33
· 48 commits to main since this release
e9a145f

This is a Hotfix release.

Features

  • Add Information.is_readonly- property to test, if a new value can be assigned to this information.

Fixes

  • return to default connection parameters from lib60870 (10s,15s,10s) #48, #51, #56
  • increase default (connection) command timeout from 100ms to 10000ms to fit to connection parameters
  • increase default (server) select timeout from 100ms to 10000ms to fit to connection parameters
  • fix sending multiple messages for a batch, if maximum ASDU size exceeded #52
  • fix server uses correct cause of transmission for interrogation response #53, #57
  • fix server responds only with last station to general interrogation #54
  • fix all periodic tasks (periodic monitoring reports, selection timeout) #52
  • Connection interrogation command to global common address blocks until all stations send ACT_TERM, not just first station
  • fix docstring for c104.ProtocolParameters timings: unit is seconds not milliseconds #48
  • support try-except blocks in callbacks instead of catching all errors and removing the callback
  • prevent invalid pointer access from lib60870 callbacks
  • setting Point.value will raise ValueError if info is readonly
  • setting Point.quality will raise ValueError if info is readonly

Dependencies

  • Add experimental support for python 3.13 free-threaded #55
  • Minor update of lib60870 to latest
  • Minor update of Mbed TLS to 3.6.3

Experimental build for free threaded python 3.13t

We’ve uploaded working free-threaded wheels to this release assets. They are not published to pypi, because these builds are still experimental. We've verified that the examples run as expected with a free-threaded Python 3.13 build. However, no additional testing has been performed at this stage. Feedback and further testing are very welcome!