This is now tested and it worked without problems. 20 items were added on the test. What version you are using? What is your max PDU size? You can see it if you select the current association and then select "xDLMS Context info". It's on the Max receive PDU size field.
I mean gurux.dlms.java version number. I change the max PDU size to 512 and it worked as expected. Can you run what you are doing with Macro Editor and send the macro file to me by email?
I'm using gurux.dlms.java version 4.0.33.
I try to record my activities to what I want to do, but It did not seems to record SET command because error, and it has an error with xml structure.
(It recorded until GET command. I read ActivityCalendar's object and modified any DayAction's selector, clicked to write button.)
Now I know the reason for this. Your PDU size is so tiny that all the day profiles don't fit into the memory. Increase the PDU size for example 1024 and it starts to work.
Hi Hyunse Cho,
Hi Hyunse Cho,
This is now tested and it worked without problems. 20 items were added on the test. What version you are using? What is your max PDU size? You can see it if you select the current association and then select "xDLMS Context info". It's on the Max receive PDU size field.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Thank you for taking the trouble to help me.
Does the version you told that mean DLMS version number? It currently set to 6.
I changed the Max PDU size 128 to 512 yesterday, and it works fine up to 2 Day IDs with 12 DayActions. (total : 24 DayActions)
However, starting with Day ID 3, I get the new error encounter like this:
RX: 7E A8 8A 02 FF 25 54 47 26 E6 E6 00 E0 01 00 01 00 00 82 01 F9 C1 01 C1 00 14 00 00 0D 00 00 FF 05 00 01 03 02 02 11 00 01 0C 02 03 09 04 00 00 00 00 09 06 00 00 0A 00 64 FF 12 00 01 02 03 09 04 02 00 00 00 09 06 00 00 0A 00 64 FF 12 00 02 02 03 09 04 04 00 00 00 09 06 00 00 0A 00 64 FF 12 00 03 02 03 09 04 06 00 00 00 09 06 00 00 0A 00 64 FF 12 00 04 02 03 09 04 08 00 00 00 09 06 00 00 0A 00 64 FF 12 00 01 F9 A6 7E
TX: 7E A0 08 25 02 FF 71 1F E4 7E
RX: 7E A8 8A 02 FF 25 56 55 05 02 03 09 04 0A 00 00 00 09 06 00 00 0A 00 64 FF 12 00 02 02 03 09 04 0C 00 00 00 09 06 00 00 0A 00 64 FF 12 00 03 02 03 09 04 0E 00 00 00 09 06 00 00 0A 00 64 FF 12 00 04 02 03 09 04 10 00 00 00 09 06 00 00 0A 00 64 FF 12 00 01 02 03 09 04 12 00 00 00 09 06 00 00 0A 00 64 FF 12 00 02 02 03 09 04 14 00 00 00 09 06 00 00 0A 00 64 FF 12 00 03 02 03 09 04 16 00 00 00 09 06 00 00 0A 00 81 B9 7E
TX: 7E A0 08 25 02 FF 91 11 03 7E
RX: 7E A8 8A 02 FF 25 58 2B EC 64 FF 12 00 04 02 02 11 01 01 0C 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 11 AB 7E
TX: 7E A0 08 25 02 FF B1 13 22 7E
RX: 7E A8 8A 02 FF 25 5A 39 CF 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 02 02 11 02 01 02 02 03 09 04 FF FF FF FF 09 06 00 96 AC 7E
TX: 7E A0 08 25 02 FF D1 15 41 7E
RX: 7E A0 0F 02 FF 25 5C 56 27 00 0A 00 64 FF 93 5D 7E
TX: 7E A0 08 25 02 FF F1 17 60 7E
RX: 7E A0 2A 02 FF 25 7E 83 63 E6 E6 00 E0 81 00 02 00 01 16 12 00 00 02 03 09 04 FF FF FF FF 09 06 00 00 0A 00 64 FF 12 00 00 6B 1E 7E
Dec 30, 2022 1:54:51 PM
gurux.dlms.GXDLMSSettings checkFrame
INFO: Invalid HDLC Frame: 7e Expected: 5e
Would you please tell me what is the problem?
BR,
Hyunse Cho
wooreeinfo
Hi Hyunse Cho,
Hi Hyunse Cho,
I mean gurux.dlms.java version number. I change the max PDU size to 512 and it worked as expected. Can you run what you are doing with Macro Editor and send the macro file to me by email?
https://www.gurux.fi/MacroEditor
BR,
Mikko
Hi Mikko,
Hi Mikko,
I appreciate for your kindly.
I'm using gurux.dlms.java version 4.0.33.
I try to record my activities to what I want to do, but It did not seems to record SET command because error, and it has an error with xml structure.
(It recorded until GET command. I read ActivityCalendar's object and modified any DayAction's selector, clicked to write button.)
anyway, I uploaded my gxm file here :
https://mail.wooree42.com/202301020925_GetActivityCalendar.gxm.zip
If you can't access this file, then I'll send mail with attached.
Thanks,
Hyunse Cho
wooreeinfo
Hi Hyunse Cho,
Hi Hyunse Cho,
I was able to download this. I'll check it and let you know tomorrow.
BR,
Mikko
Hi,
Hi,
Now I know the reason for this. Your PDU size is so tiny that all the day profiles don't fit into the memory. Increase the PDU size for example 1024 and it starts to work.
BR,
Mikko
Hi Mikko,
Hi Mikko,
I extended the pdu size, and it works well.
Thank you for letting me know.