Closed b1r63r closed 2 years ago
Ah. Maybe I should remove that file. It is left from when I implemented the hdlc transport but had not yet done the dlms connection.
To get a HDLC connection to the meter use either
from dlms_cosem.clients.dlms_client import DlmsClient
from dlms_cosem.clients.hdlc_transport import SerialHdlcTransport
transport = SerialHdlcTransport(...)
client = DlmsClient(io_interface=transport, ...)
or
client = DlmsClient.with_serial_hdlc_transport(...)
thank you for the quick response
from dlms_cosem.clients.serial_hdlc import SerialHdlcClient
Should serial_hdlc be hdlc_transport and SerialHdlcClienthere be SerialHdlcTransport, or is there a missing client?