GXDLMS XML client always fails while transmitting the last block during block transfer

1 post / 0 new
pramodahanya
GXDLMS XML client always fails while transmitting the last block during block transfer

Hello,
We are using the GXDLMSXMLClient to provision the meter and unfortunately, the meter does not support GBT.
When we use the SetWithBlockTransfer the communication always fails while sending the last block.
For example, if we are trying to set 27 capture objects for a load profile the PDU will be divided into 4 blocks and it will time out while getting the response for the last block and will retry after the timeout and do not process the response.
If we reduce the capture objects to 20, then it will be divided into 3 blocks and the same behavior for the 3rd block.
Below is the communication log for setting 27 capture objects:
TX: 7E A8 87 20 85 03 32 67 6E E6 E6 00 C1 01 C1 00 07 00 00 62 01 00 FF 03 00 01 1B 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 02 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 02 08 01 FF 0F 02 12 00 6B 24 7E
RX: 7E A0 08 03 20 85 51 E3 BA 7E
TX: 7E A8 8A 20 85 03 34 25 77 00 02 04 12 00 03 09 06 01 00 02 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 06 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 06 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 06 08 02 FF 0F 02 12 00 00 02 A2 B6 7E
RX: 7E A0 08 03 20 85 71 E1 9B 7E
TX: 7E A8 8A 20 85 03 36 37 54 04 12 00 03 09 06 01 00 07 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 07 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 07 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 06 00 FF 0F 02 12 00 00 02 04 12 1D 7B 7E
RX: 7E A0 08 03 20 85 91 EF 7C 7E
TX: 7E A0 85 20 85 03 38 ED F6 00 03 09 06 01 00 01 06 00 FF 0F 05 12 00 00 02 04 12 00 03 09 06 01 00 01 06 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 06 01 FF 0F 05 12 00 00 02 04 12 00 03 09 06 01 00 01 06 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 06 02 FF 0F 05 12 00 00 02 04 12 00 03 09 06 01 00 02 06 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 02 06 00 FF 0F 05 12 00 00 C3 91 7E
Data send failed. Try to resend 1/3
TX: 7E A0 85 20 85 03 38 ED F6 00 03 09 06 01 00 01 06 00 FF 0F 05 12 00 00 02 04 12 00 03 09 06 01 00 01 06 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 06 01 FF 0F 05 12 00 00 02 04 12 00 03 09 06 01 00 01 06 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 06 02 FF 0F 05 12 00 00 02 04 12 00 03 09 06 01 00 02 06 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 02 06 00 FF 0F 05 12 00 00 C3 91 7E
RX: 7E A0 08 03 20 85 B1 ED 5D 7E

Communication log for setting 20 capture objects:
TX: 7E A8 87 20 85 03 32 67 6E E6 E6 00 C1 01 C1 00 07 00 00 62 01 00 FF 03 00 01 14 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 02 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 02 08 01 FF 0F 02 12 00 02 9C 7E
RX: 7E A0 08 03 20 85 51 E3 BA 7E
TX: 7E A8 8A 20 85 03 34 25 77 00 02 04 12 00 03 09 06 01 00 02 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 06 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 06 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 06 08 02 FF 0F 02 12 00 00 02 A2 B6 7E
RX: 7E A0 08 03 20 85 71 E1 9B 7E
TX: 7E A0 87 20 85 03 36 1B 09 04 12 00 03 09 06 01 00 07 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 07 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 07 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 06 00 FF 0F 02 12 00 00 3E 51 7E
Data send failed. Try to resend 1/3
TX: 7E A0 87 20 85 03 36 1B 09 04 12 00 03 09 06 01 00 07 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 07 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 07 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 06 00 FF 0F 02 12 00 00 3E 51 7E
RX: 7E A0 08 03 20 85 91 EF 7C 7E

We are using Gurux DLMS 4.0.24
Thank you
Best Regards
Pramod