I'm having a problem with a decryption phase with Python.
With this "Get Clock" request "7ea02e022103101c2ce6e600db001e3080000050523e079fa8b6375439df06798690dd1abf4c6357aba96cb98a72bd7e", meter returns "7ea033030221304d25e6e700db002330800000445765bdffdb7758bf79857392065e5c8a55a716ae902eac60519da7a9eeee42747e", which is correct.
But with self.clientSecure.getData(result, reply), it returns
"\gurux_dlms\GXDLMS.py", line 1678, in getPdu
raise ValueError("Invalid Command.")
ValueError: Invalid Command."
I checked from the trace that you are using Management client. Italy standard doesn't send serverSystemTitle Have you set it like this:
client = GXDLMSClient(...)
client.serverSystemTitle = GXByteBuffer.hexToBytes('3435110210410103')
Italy standard doesn't send system title as part of GLO_CIPHERING and now server system title is set to zero. I created an issue from this: http://www.gurux.fi/node/17764
Hi,
Hi,
I checked from the trace that you are using Management client. Italy standard doesn't send serverSystemTitle Have you set it like this:
client = GXDLMSClient(...)
client.serverSystemTitle = GXByteBuffer.hexToBytes('3435110210410103')
BR,
Mikko
Hi,
Hi,
Italy standard doesn't send system title as part of GLO_CIPHERING and now server system title is set to zero. I created an issue from this:
http://www.gurux.fi/node/17764
This is now fixed. Update to version 1.0.96.
BR,
Mikko
Hi,
Hi,
I found an error also in \gurux_dlms\GXDLMSChippering.py, row 112: tmp2.SetUInt8(0)
It could be "tmp2.setUInt8(0)".
Without this error it works very well.
Thank.
Hi,
Hi,
Thank you for this info. I created an issue from this and this is fixed. The new version is released today.
https://www.gurux.fi/node/17766
BR,
Mikko