Dlms-cosem

Latest version: v25.1.0

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

24.1.0

Added
* Support for HDLC over TCP via composition of IO-implementation separate from
transport implementation.
* Support for LLS (Low Level Security)
* Support for HLS (method 2) using common method of AES128-ECB.
* Structlog logging.
* Implemented VisibleStringData.
* DlmsConnectionSettings to handle manufacturer specific quirks in communication.

Changed
* Changed License from MIT to BSL v1.1
* Refactor of authentication to make it simpler support more authentication types. And make
it possible to supply manufacturer specific implementations.

Removed
* Shorthand class methods to create DlmsClients. Now composition has to be used.

Fixed
* Error in DataArray dlms data type

21.3.2

Changed

Updated dependencies and made it a bit more lenient so installing in other environments
will allow for more versions.

21.3.1

Added

* To handle the more complicated parsing problem of GET.WITH_LIST with compound data
elements a new parser, DlmsDataParser, was added that focuses on only A-XDR DLMS data.
Hopefully this can be be used instead of the A-XDR Parser when the parsing of ACSE
services APDUs is built away

21.3.0

Added

* Added HDLC UnnumberedInformationFrame.
* Ability to set timeout of transport layer at client level.
* A simpler way to change client address and invocation counter of a `DlmsClient` to
that reuseing a connection goes smoother
* Added `from_string` on `Obis`that can parse any viable string as OBIS.
* Added GET.WITH_LIST service.

Changed

* Renamed classes to exclude `Apdu` in class names. To have it consistent over the
project.
* Simplified DataNotification
* Improved handling of pre-established associations
* Using the wrong data to decrypt now raises `DecryptionError` instead of InvalidTag
* The `to_string` method on `Obis` now returns in the format `1-8:1.8.0.255` with a
possible override of the separator.

Removed

* Removed the `from_dotted`, `dotted_repr` and `verbose_repr` from `Obis`


Fixed

* Some DLMS over TCP implementations will return partial data. The
`BlockingTcpTransport` now keeps on trying to read the data until all data is
received. Fixes [35](https://github.com/pwitab/dlms-cosem/issues/35).
* Fixed a bug in the HDLC layer that prevented correct sending of segmented information
frames.

21.2.2

Fixed

* Fixed missing state management for general ACTION usage

21.2.1

Fixed

* Fixed [23](https://github.com/pwitab/dlms-cosem/issues/23). Typo in A-XDR Parser.
Just referenced the function and did not call it. Now DLMS data is interpreted
correctly.

* Fixed [20](https://github.com/pwitab/dlms-cosem/issues/20). It was possible that not
calling the .shutdown() on socket before disconnecting made remote modems on meters,
that have an embedded TCP/IP stack, keep the socket open and blocking subsequent calls.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.