Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
I have made the connection settings as below using python. I can read the objects when the auth is low and client address is 32. But i am having issue with high authentication.
Note: I have purposefully did not add passwords here.
if ser.isOpen():
print('if - 1')
settings.client.ciphering.security= Security.AUTHENTICATION_ENCRYPTION
settings.client.ciphering.invocationCounter = 1000
settings.client.useLogicalNameReferencing = True
GetRequestWithList fails in Gurux.DLMS.cpp with "segmentation fault" if some requested objects not in collection of AssociationView.
Here is the crash log:
01:40:56,252 : DEBUG : TX: 7E A0 1F 02 21 41 93 CC 30 81 80 12 05 01 F0 06 01 F0 07 04 00 00 00 01 08 04 00 00 00 01 F9 CB 7E
01:40:56,256 : INFO : <HDLC len="1E" >
<TargetAddress Value="90" />
<SourceAddress Value="20" />
<FrameType Value="93" />
<PDU>
<Snrm>
Hello I would have a question because I can't seem to find an answer.
So the Gurux- DLMS library prints the result like this:
TX: 07:00:11 00 01 00 01 00 01 00 38 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 31 32 33 34 35 36 37 38 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 5D FF FF
RX: 07:00:11 00 01 00 01 00 01 00 2B 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 1E 5D 04 C8 00 07
Is it possible to convert datetime to hex string? I am using python. For example:
client = GXDLMSClient()
hex_str = "07E705180300000000800000"
dt = client.changeType(hex_str, DataType.DATETIME)
print(dt)
result: 05/24/23 00:00:00:000000
Now I want to convert from 05/24/23 00:00:00:000000 to 07E705180300000000800000.
Is it possible?
Hello, i am trying to read association logical name object but i get Not enough memory available error.
I am trying to do as your client example says to read one bye one, but i never leave com_readDataBlock() method and com_readDataBlock() returns out of memory error. Should I read only one data block, parse it, then again read?
Hello, is there any way to read KAIFA MA309 data with C? I only see wireless MBus interface type.
hi, in recent update of gurux , It can't Parse Persian date Correctly . in previous versions ,it was working greatly.
it has error on C# version and GxDlmsDirector.
Packet examples :
TX: 7E A0 1C 00 02 76 71 03 54 A8 19 E6 E6 00 C0 01 C1 00 08 00 00 01 00 00 FF 02 00 60 1A 7E
13:49:30
RX: 7E A0 21 03 00 02 76 71 74 82 BD E6 E7 00 C4 01 C1 00 09 0C 05 7A 02 1F 07 0D 31 17 00 FF 2E 00 62 F2 7E
now it gives Error :
Year, Month and day parameters describe an un-representable DateTime.
I have successfully received SNRM and ARQ. When i try to read clock object receiving the wrong frame which i found it as error frame. I am trying to use as below
reader= GXDLMSReader(settings.client, settings.media, settings.trace, settings.invocationCounter)
reader.initializeConnection()
d =GXDLMSClock("0.0.1.0.0.255")
reader.read(d, 8)
the output frame for clock is
TX: 12:55:37 7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 C1 00 08 00 00 01 00 00 FF 08 00 10 E7 7E 8
RX: 12:55:42 7E A0 0C 21 03 97 3E 21 10 22 08 29 D6 7E 8
Hello, wanted to ask if there is any example in ANSI C, how to write value to object register?
want to set encryption key: