I am implementing the ImageTransfer ( IC = 18 ) into a smart meter.
The problem I found in Gurux DLMS Director is with the codification of image_block_transfer method when the image_block_size does not fit into a single HDLC frame.
When using a larger block, i.e. 128 bytes, HDLC segmentation is ON and then the transmitted packet by Gurux is incorrect.
The problem are following bytes: (00 00 00 00 01 6D) found between Class ID, OBIS, Method, Parameters (00 12 00 00 2C 00 00 FF 02 01) and ASN1 codified data (02 02 06 00 00 00 00 .... ).
When using a small block, i.e. 64 bytes. HDLC segmentation is OFF and then, the transmitted packet by Gurux is correct.
Between Class ID, OBIS, Method ID, Parameters and ASN1 codified data there are no additional bytes.
I don't know if this problem is related with the HDLC segmentation or not because the additional (and erroneous) bytes are at the beginning of the packet and not in the boundaries of segmented packets.
Error when transferring larger and segmented block for ImageTran
Hi Ivan,
Thanks from this info. We'll check this right away.
BR,
Mikko