You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It it is an action response with global ciphering, so it is encrypted. Nothing we support yet as we have not needed it.
But it could easily be handled I thing in the decrypt part and replaced with a normal action response but if it is part of some custom auth flow it needs investigation.
What type of meter? What companion standard (country)?
I have this error when trying to connect using High Security:
Traceback (most recent call last):
File "C:\Users\XXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\dlms_cosem\connection.py", line 57, in apdu_from_bytes
apdu_class = cls.APDU_MAP[tag]
~~~~~~~~~~~~^^^^^
KeyError: 207
The APDU_MAP doesn't have this key:
APDU_MAP = {
1: xdlms.InitiateRequest,
8: xdlms.InitiateResponse,
14: xdlms.ConfirmedServiceError,
15: xdlms.DataNotification,
33: xdlms.GlobalCipherInitiateRequest,
40: xdlms.GlobalCipherInitiateResponse,
216: xdlms.ExceptionResponse,
219: xdlms.GeneralGlobalCipher,
# ACSE APDUs:
96: acse.ApplicationAssociationRequest,
97: acse.ApplicationAssociationResponse,
98: acse.ReleaseRequest,
99: acse.ReleaseResponse,
192: xdlms.GetRequestFactory,
193: xdlms.SetRequestFactory,
195: xdlms.ActionRequestFactory,
196: xdlms.GetResponseFactory,
197: xdlms.SetResponseFactory,
199: xdlms.ActionResponseFactory,
}
The text was updated successfully, but these errors were encountered: